15 HTTP/1.1 301 This is a weirdo text message swsclose
\r
16 Location: data/10810099.txt?coolsite=yes
\r
20 This server reply is for testing a simple Location: following
23 HTTP/1.1 200 Followed here fine swsclose
\r
24 Date: Thu, 09 Nov 2010 14:49:00 GMT
\r
25 Server: test-server/fake
\r
28 This second URL does not have a location
38 HTTP no Location: on second URL 'redirect_url' check
41 http://%HOSTIP:%HTTPPORT/we/want/our/1081 http://%HOSTIP:%HTTPPORT/we/want/our/10810002 -w '%{redirect_url}\n'
45 # Verify data after the test has been "shot"
51 GET /we/want/our/1081 HTTP/1.1
\r
52 Host: %HOSTIP:%HTTPPORT
\r
55 GET /we/want/our/10810002 HTTP/1.1
\r
56 Host: %HOSTIP:%HTTPPORT
\r
61 HTTP/1.1 301 This is a weirdo text message swsclose
\r
62 Location: data/10810099.txt?coolsite=yes
\r
66 This server reply is for testing a simple Location: following
67 http://%HOSTIP:%HTTPPORT/we/want/our/data/10810099.txt?coolsite=yes
68 HTTP/1.1 200 Followed here fine swsclose
\r
69 Date: Thu, 09 Nov 2010 14:49:00 GMT
\r
70 Server: test-server/fake
\r
73 This second URL does not have a location