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