cookies-06.txt 1.04 KB
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: cname1=cvalue01; 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: cname1=cvalue01
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42

----------
HTTP/1.1 200 OK
Date: Sat, 02 Mar 2013 00:00:00 GMT
Set-Cookie: cname2=cvalue02; 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
43
Cookie: cname1=cvalue01; cname2=cvalue02
44 45 46 47 48 49 50 51

----------
HTTP/1.1 200 OK
Date: Sat, 02 Mar 2013 00:00:00 GMT
Content-Type: text/plain
Content-Length: 44

abcdefghijklmnopqrstuvwxyz1234567890abcdef