New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cookbook : Web / simple HTTP client #2123
Conversation
- URL we serve this under is docs/cookbook/[task slug]/[recipe slug] - multiple recipes per task - recipe page displays links to other recipes for the same task
…e controlled by learn_layout.eml and community_layout.eml
* Cookbook index : add encoding * Cookbook encoding typos * Add dune * Update 00-camomile.md / remove tab * Update 00-camomile.md / remove tab * Update 00-camomile.md * Apply suggestions from code review Co-authored-by: Christine Rose <christinerose@users.noreply.github.com> --------- Co-authored-by: Frederic LOYER <frederic.loyer@club-internet.fr> Co-authored-by: Christine Rose <christinerose@users.noreply.github.com>
* Cookbook: add Sorting * Update 00-stdlib.md / remove tabs * Update 00-stdlib.md / remove tabs --------- Co-authored-by: Frederic LOYER <frederic.loyer@club-internet.fr>
* Cookbook: text processing * Cookbook: text processing (remove tabs) * Cookbook: text processing (typo) * Cookbook: text processing (typo) * Cookbook: text processing (typo) --------- Co-authored-by: Frederic LOYER <frederic.loyer@club-internet.fr>
* Cookbook : Database/ezsqlite * Remove tabs * Declare packages * Indent error * typo * Update cookbook_categories.yml : fix folder name in cookbook_categories.yml * Update cookbook_categories.yml - cookbook index fix * Update 00-ezsqlite.md --------- Co-authored-by: Frederic LOYER <frederic.loyer@club-internet.fr>
* Cookbook: add concurrency / Lwt * Cookbook: add concurrency / Lwt - fix * Cookbook: add concurrency / Lwt - fix * Cookbook: add concurrency / Lwt - fix --------- Co-authored-by: Frederic LOYER <frederic.loyer@club-internet.fr>
* Cookbook : Caqti and ppx_rapper * Cookbook : Caqti and ppx_rapper - fix * Cookbook : Caqti and ppx_rapper - fix * Cookbook : Caqti and ppx_rapper - @ notation * add query with WITH clause * typo WITH/WHERE * fix * fix * fix * fix * fix --------- Co-authored-by: Frederic LOYER <frederic.loyer@club-internet.fr>
…ed side-by-side with the code
Co-authored-by: Frédéric LOYER <frederic.loyer@club-internet.fr>
Co-authored-by: Frédéric LOYER <frederic.loyer@club-internet.fr>
82615eb
to
25749b6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few questions & suggestions
I'm not convinced that |
Co-authored-by: Christine Rose <christinerose@users.noreply.github.com>
But the convenience module of Ocamlnet is "convenient" - see the proposed snippet : 2 lines - (but quite basic). I have a Cohttp/Lwt snippet if it is prefered... |
I think ocamlnet is unmaintained and incompatible with OCaml 5, so I would also suggest not advertising it as a viable option in the Cookbook :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Set upstream from https://github.com/ocaml/ocaml.org/tree/cookbook-httpclient
caf127e
to
7f8c3b8
Compare
A very simple cookbook...