From: Gerd Stolpmann <info@gerd-stolpmann.de>
To: Hendrik Tews <tews@cs.ru.nl>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] cookies in netclient
Date: Tue, 28 Aug 2007 00:27:24 +0200 [thread overview]
Message-ID: <1188253645.7533.15.camel@localhost.localdomain> (raw)
In-Reply-To: <18127.20625.317597.197268@tandem.cs.ru.nl>
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
------------------------------------------------------------
next prev parent reply other threads:[~2007-08-27 22:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-24 21:41 Hendrik Tews
2007-08-27 22:27 ` Gerd Stolpmann [this message]
2007-08-28 12:48 ` [Caml-list] " Hendrik Tews
2007-08-28 14:12 ` Gerd Stolpmann
2007-09-28 9:49 ` Hendrik Tews
2007-09-30 16:45 ` Gerd Stolpmann
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=1188253645.7533.15.camel@localhost.localdomain \
--to=info@gerd-stolpmann.de \
--cc=caml-list@inria.fr \
--cc=tews@cs.ru.nl \
/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