Commit | Line | Data |
---|---|---|
a3ab329f DG |
1 | url |
2 | http://example.com/index.html | |
3 | expected | |
4 | abcdefghijklmnopqrstuvwxyz1234567890abcdef | |
fcfb9f49 CBW |
5 | expected_url |
6 | http://example.com/index2.html | |
a3ab329f DG |
7 | ---------- |
8 | GET /index.html HTTP/1.1 | |
9 | Host: example.com | |
10 | Connection: close | |
11 | User-Agent: HTTP-Tiny/VERSION | |
12 | ||
13 | ---------- | |
14 | HTTP/1.1 302 Found | |
15 | Date: Thu, 03 Feb 1994 00:00:00 GMT | |
16 | Content-Type: text/html | |
17 | Content-Length: 53 | |
18 | Location: http://example.com/index2.html | |
19 | ||
20 | <a href="http://example.com/index2.html">redirect</a> | |
21 | ||
22 | ---------- | |
23 | GET /index2.html HTTP/1.1 | |
24 | Host: example.com | |
25 | Connection: close | |
26 | User-Agent: HTTP-Tiny/VERSION | |
27 | ||
28 | ---------- | |
29 | HTTP/1.1 200 OK | |
30 | Date: Thu, 03 Feb 1994 00:00:00 GMT | |
31 | Content-Type: text/plain | |
32 | Content-Length: 42 | |
33 | ||
34 | abcdefghijklmnopqrstuvwxyz1234567890abcdef | |
35 |