[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Gerd Stolpmann <info@g...> |
| Subject: | Re: [Caml-list] libwww for OCaml |
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