cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl sends cookies in multiple headers

From: Arunkumar Manickam <arun.ccjl_at_gmail.com>
Date: Mon, 18 Oct 2010 13:04:47 +0530

One cookie is set by the server which is managed by curl.
One is application generated which is added through request headers.

will curl not sanitise the request headers and take the cookie headers
generated by the application and combine with the cookies it manages?

curl manages the cookies set the server but does not combine them with the
user generated cookie header. Is there to make curl combine the two cookies
headers into one.

I am using curl 7.20.1

Thanks,
Arun

On Thu, Oct 14, 2010 at 5:54 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Thu, 14 Oct 2010, Arunkumar Manickam wrote:
>
> If there are multiple cookies to be sent to a server, curl sends them in
>> separate headers on for each cookie.
>>
>
> No it doesn't. Can you please be a lot more verbose with what you're
> actually doing, which curl version you're using and exactly what curl sends?
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-users
> FAQ: http://curl.haxx.se/docs/faq.html
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-18