caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Oliver Bandel" <oliver@first.in-berlin.de>
To: caml-list@yquem.inria.fr
Subject: ocamlnet ( Http_client and other stuff )
Date: Mon, 19 Apr 2010 00:16:50 +0200	[thread overview]
Message-ID: <20100419001650.129848d0xobbxp76@webmail.in-berlin.de> (raw)

Hi,

after using Nethtml for HTNML-parsing (nice!) and Pcre (nice!)
I now want to use other modules from the ocamlnet stuff.


At the moment I want just write a simple webfile retriever.
So, some http-get stuff for webpages.
But later I may need more advanced features.

Some years ago I tried some of the ocamlnet stuff,
but have forgotten the details.

As far as I can remember, there was an OO-based lib, which makes web  
access very easy, but for more specialized stuff, such as cookies, one  
should use the http_client library, because that OO-stuff did only  
provide simple protocoll stuff.

I'm not sure if the other OO-stuff was enhanced since then.

Is there an overview on the different libs, with recommendations,
which library is useful for what task?

Some examples also would be fine.

BTW: there is Pcre as well as Netstring_pcre. When to use which?
  Should I always prefer Netstring_pcre for web stuff?


Ciao,
    Oliver



                 reply	other threads:[~2010-04-18 22:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100419001650.129848d0xobbxp76@webmail.in-berlin.de \
    --to=oliver@first.in-berlin.de \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).