Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] libwww for OCaml
@ 2004-10-11  7:51 Richard Jones
  2004-10-11  8:57 ` Gerd Stolpmann
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Jones @ 2004-10-11  7:51 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 632 bytes --]


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.

Rich.

[1] http://www.w3.org/Library/
[2] http://sourceforge.net/projects/ocurl

-- 
Richard Jones. http://www.annexia.org/ http://www.j-london.com/
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
http://www.YouUnlimited.co.uk/ - management courses

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] libwww for OCaml
  2004-10-11  7:51 [Caml-list] libwww for OCaml Richard Jones
@ 2004-10-11  8:57 ` Gerd Stolpmann
  0 siblings, 0 replies; 2+ messages in thread
From: Gerd Stolpmann @ 2004-10-11  8:57 UTC (permalink / raw)
  To: Richard Jones; +Cc: caml-list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-11  8:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-11  7:51 [Caml-list] libwww for OCaml Richard Jones
2004-10-11  8:57 ` Gerd Stolpmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox