cookies-01.txt 718 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
url
  http://example.com/index.html
----------
GET /index.html HTTP/1.1
Host: example.com
Connection: close
User-Agent: HTTP-Tiny/VERSION

----------
HTTP/1.1 200 OK
Date: Sat, 02 Mar 2013 00:00:00 GMT
Set-Cookie: cname=cvalue; domain=example.com; path=/
Content-Type: text/plain
Content-Length: 44

abcdefghijklmnopqrstuvwxyz1234567890abcdef
----------
url
  http://example.com/index.html
----------
GET /index.html HTTP/1.1
Host: example.com
Connection: close
User-Agent: HTTP-Tiny/VERSION
25
Cookie: cname=cvalue
26 27 28 29 30 31 32 33 34

----------
HTTP/1.1 200 OK
Date: Sat, 02 Mar 2013 00:00:00 GMT
Set-Cookie: cname=cvalue; domain=example.com; path=/
Content-Type: text/plain
Content-Length: 44

abcdefghijklmnopqrstuvwxyz1234567890abcdef