This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
mktables: Move file handling to non-exceptional order
[perl5.git] / cpan / HTTP-Tiny / corpus / redirect-10.txt
CommitLineData
02a58917
SH
1url
2 http://example.com/index.html
3expected
4 abcdefghijklmnopqrstuvwxyz1234567890abcdef
5expected_url
6 http://example.com/index2.html
7----------
8GET /index.html HTTP/1.1
9Host: example.com
10Connection: close
11User-Agent: HTTP-Tiny/VERSION
12
13----------
14HTTP/1.1 308 Permanent Redirect
15Date: Thu, 03 Feb 1994 00:00:00 GMT
16Content-Type: text/html
17Content-Length: 53
18Location: http://example.com/index2.html
19
20<a href="http://example.com/index2.html">redirect</a>
21
22----------
23GET /index2.html HTTP/1.1
24Host: example.com
25Connection: close
26User-Agent: HTTP-Tiny/VERSION
27
28----------
29HTTP/1.1 200 OK
30Date: Thu, 03 Feb 1994 00:00:00 GMT
31Content-Type: text/plain
32Content-Length: 42
33
34abcdefghijklmnopqrstuvwxyz1234567890abcdef
35