cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Bug 3349227

From: Rob Ward <rob_at_rob-ward.co.uk>
Date: Tue, 5 Jul 2011 11:57:05 +0100

On 4 July 2011 22:35, Dan Fandrich <dan_at_coneharvesters.com> wrote:

> On Mon, Jul 04, 2011 at 10:17:55PM +0100, Rob Ward wrote:
> > Do these cases seem sensible for that?
> >
> > Set-Cookie: httpandsec=myvalue ; domain=127.0.0.1; path=/p4/; httponly;
> secure
> > Set-Cookie: httpandsec2=myvalue2 ; domain=127.0.0.1; path=/p4/;
> httponly=;
> > secure
> > Set-Cookie: httpandsec3=myvalue3 ; domain=127.0.0.1; path=/p4/;
> httponly;
> > secure=
> > Set-Cookie: httpandsec4=myvalue4 ; domain=127.0.0.1; path=/p4/;
> httponly=;
> > secure=
>
> One where secure comes before httponly would be good to have as well.
>
> >>> Dan
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

Something along the lines of seem suitable:

 Set-Cookie: httpandsec5=myvalue3 ; domain=127.0.0.1; path=/p4/;
secure; httponly=
 Set-Cookie: httpandsec6=myvalue4 ; domain=127.0.0.1; path=/p4/;
secure=; httponly=
  Set-Cookie: httpandsec7=myvalue3 ; domain=127.0.0.1; path=/p4/;
secure; httponly
 Set-Cookie: httpandsec8=myvalue4 ; domain=127.0.0.1; path=/p4/;
secure=; httponly
Rob

-- 
------------------------------
Rob Ward
www.rob-ward.co.uk

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-07-05