This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
3f983b84025998942dd79afddd0733219d85d279
[perl5.git] / cpan / HTTP-Tiny / t / cases / redirect-08.txt
1 url
2   http://example.com/index.html
3 expected
4   <a href="http://example.com/index2.html">redirect</a>
5 ----------
6 GET /index.html HTTP/1.1
7 Host: example.com
8 Connection: close
9 User-Agent: HTTP-Tiny/VERSION
10
11 ----------
12 HTTP/1.1 305 Use Proxy
13 Date: Thu, 03 Feb 1994 00:00:00 GMT
14 Content-Type: text/html
15 Content-Length: 53
16 Location: http://example.com/index2.html
17
18 <a href="http://example.com/index2.html">redirect</a>
19