Here's what was sent:
Set-Cookie: a=hello; Domain=.ecs.soton.ac.uk; Version=1 Set-Cookie: b=hello; Path="/"; Version=1 Set-Cookie: c="hello;"; Version=1, bar=bat Set-Cookie: d="hello=foo\\bar\";moose\" end"; Version=1; Path="/" Set-Cookie: e="hello" Set-Cookie: f=hello Set-Cookie: g="hello;, \t"; Version=1 Set-Cookie: h=bat Set-Cookie: i=moo@foo:blah?moar\ text Set-Cookie: j="hello, this is a test of whitespace handling\r"; Version=1 Set-Cookie: k="hello;"thisisa"really,really, really\"broken value"; Version=1 Set-Cookie: l="hello%0D%0A" Set-Cookie: m="let's see if LWS handling works\r\n a bit more" Set-Cookie: n='foo"' Set-Cookie: o=it's a joke" Set-Cookie: p=it's a bit more of a joke; Comment=don't do this Set-Cookie: q='hello;, \t' Set-Cookie: r= foo Set-Cookie: s="blah blah blah Set-Cookie: t="moose; foo Set-Cookie: u=blah"foo"bar"baz" Set-Cookie: v= "blah"
...and here's what the browser sent back: