Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Gerd Stolpmann <info@gerd-stolpmann.de>
To: Richard Jones <rich@annexia.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] libwww for OCaml
Date: Mon, 11 Oct 2004 10:57:59 +0200	[thread overview]
Message-ID: <1097485078.1149.77.camel@ice.gerd-stolpmann.de> (raw)
In-Reply-To: <20041011075142.GA26347@annexia.org>

On Mon, 2004-10-11 at 09:51, Richard Jones wrote:
> I wonder if anyone has done an OCaml binding for libwww[1].  A cursory
> Google search doesn't turn up anything.
> 
> I also wonder if people can comment on libwww vs. Curl (ocurl[2]).  I
> wish to make requests to a webserver and receive the replies.  The
> library must support cookies, and it would be better if it also
> supported keepalives.

Netclient is your friend:

http://www.ocaml-programming.de/programming/netclient.html

It is a 100% O'Caml implementation of HTTP/1.1. Take the "experimental"
version, it is quite stable. You get not only keepalives, but also
pipelining and parallel handling of several requests.

The only drawback is that it always downloads into memory.

I guess this library is the reason why there isn't a libwww binding...

Gerd
-- 
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany 
gerd@gerd-stolpmann.de          http://www.gerd-stolpmann.de
------------------------------------------------------------

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


      reply	other threads:[~2004-10-11  8:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-11  7:51 Richard Jones
2004-10-11  8:57 ` Gerd Stolpmann [this message]

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=1097485078.1149.77.camel@ice.gerd-stolpmann.de \
    --to=info@gerd-stolpmann.de \
    --cc=caml-list@inria.fr \
    --cc=rich@annexia.org \
    /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