Version française
Home     About     Download     Resources     Contact us    
Browse thread
cookies in netclient
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Gerd Stolpmann <info@g...>
Subject: Re: [Caml-list] cookies in netclient
Am Freitag, den 24.08.2007, 23:41 +0200 schrieb Hendrik Tews:
> Hi,
> 
> does the netclient library support cookies? That is, does it
> store and reuse cookies that I receive with get and post
> requests?

No, not automatically, i.e. it doesn't mimick the behaviour of a
browser. You can get cookies by looking in the header, and also set them
in the header. There are helper functions for this in Nethttp.Header.
Unfortunately, get_set_cookie is missing (I have an implementation if
you really need it).

Gerd


> 
> Bye,
> 
> Hendrik
> 
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
> 
-- 
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany 
gerd@gerd-stolpmann.de          http://www.gerd-stolpmann.de
Phone: +49-6151-153855                  Fax: +49-6151-997714
------------------------------------------------------------