This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Merge branch 'safer' into blead
[perl5.git] / cpan / HTTP-Tiny / corpus / redirect-09.txt
CommitLineData
a3ab329f
DG
1url
2 http://example.com/index.html
3method
4 POST
5expected
6 abcdefghijklmnopqrstuvwxyz1234567890abcdef
fcfb9f49
CBW
7expected_url
8 http://example.com/index2.html
a3ab329f
DG
9----------
10POST /index.html HTTP/1.1
11Host: example.com
12Connection: close
13User-Agent: HTTP-Tiny/VERSION
14
15----------
16HTTP/1.1 303 See Other
17Date: Thu, 03 Feb 1994 00:00:00 GMT
18Content-Type: text/html
19Content-Length: 53
20Location: http://example.com/index2.html
21
22<a href="http://example.com/index2.html">redirect</a>
23
24----------
25GET /index2.html HTTP/1.1
26Host: example.com
27Connection: close
28User-Agent: HTTP-Tiny/VERSION
29
30----------
31HTTP/1.1 200 OK
32Date: Thu, 03 Feb 1994 00:00:00 GMT
33Content-Type: text/plain
34Content-Length: 42
35
36abcdefghijklmnopqrstuvwxyz1234567890abcdef
37