This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update HTTP-Tiny to CPAN version 0.029
[perl5.git] / cpan / HTTP-Tiny / t / cases / cookies-03.txt
1 url
2   http://example.com/index.html
3 ----------
4 GET /index.html HTTP/1.1
5 Host: example.com
6 Connection: close
7 User-Agent: HTTP-Tiny/VERSION
8
9 ----------
10 HTTP/1.1 200 OK
11 Date: Sat, 02 Mar 2013 00:00:00 GMT
12 Set-Cookie: cname=cvalue01; domain=example.com; path=/
13 Content-Type: text/plain
14 Content-Length: 44
15
16 abcdefghijklmnopqrstuvwxyz1234567890abcdef
17 ----------
18 url
19   http://example.com/index.html
20 ----------
21 GET /index.html HTTP/1.1
22 Host: example.com
23 Connection: close
24 User-Agent: HTTP-Tiny/VERSION
25 Cookie: cname=cvalue01
26
27 ----------
28 HTTP/1.1 200 OK
29 Date: Sat, 02 Mar 2013 00:00:00 GMT
30 Set-Cookie: cname=cvalue02; domain=example.com; path=/
31 Content-Type: text/plain
32 Content-Length: 44
33
34 abcdefghijklmnopqrstuvwxyz1234567890abcdef
35 ----------
36 url
37   http://example.com/index02.html
38 ----------
39 GET /index02.html HTTP/1.1
40 Host: example.com
41 Connection: close
42 User-Agent: HTTP-Tiny/VERSION
43
44 ----------
45 HTTP/1.1 200 OK
46 Date: Sat, 02 Mar 2013 00:00:00 GMT
47 Set-Cookie: cname=cvalue03; domain=example.com; path=/
48 Content-Type: text/plain
49 Content-Length: 44
50
51 abcdefghijklmnopqrstuvwxyz1234567890abcdef
52 ----------
53 url
54   http://example.com/index.html
55 ----------
56 GET /index.html HTTP/1.1
57 Host: example.com
58 Connection: close
59 User-Agent: HTTP-Tiny/VERSION
60 Cookie: cname=cvalue02
61
62 ----------
63 HTTP/1.1 200 OK
64 Date: Sat, 02 Mar 2013 00:00:00 GMT
65 Set-Cookie: cname=cvalue02; domain=example.com; path=/
66 Content-Type: text/plain
67 Content-Length: 44
68
69 abcdefghijklmnopqrstuvwxyz1234567890abcdef
70 ----------
71 url
72   http://example.com/index02.html
73 ----------
74 GET /index02.html HTTP/1.1
75 Host: example.com
76 Connection: close
77 User-Agent: HTTP-Tiny/VERSION
78 Cookie: cname=cvalue03
79
80 ----------
81 HTTP/1.1 200 OK
82 Date: Sat, 02 Mar 2013 00:00:00 GMT
83 Set-Cookie: cname=cvalue03; domain=example.com; path=/
84 Content-Type: text/plain
85 Content-Length: 44
86
87 abcdefghijklmnopqrstuvwxyz1234567890abcdef