12 HTTP/1.1 301 This is a weirdo text message swsclose
13 Date: Thu, 09 Nov 2010 14:49:00 GMT
14 Server: test-server/fake
15 Location: data/2760002.txt?coolsite=http://anotherurl/?a_second/2760002
18 This server reply is for testing a simple Location: following
22 HTTP/1.1 200 Followed here fine swsclose
23 Date: Thu, 09 Nov 2010 14:49:00 GMT
24 Server: test-server/fake
27 If this is received, the location following worked
31 HTTP/1.1 301 This is a weirdo text message swsclose
32 Date: Thu, 09 Nov 2010 14:49:00 GMT
33 Server: test-server/fake
34 Location: data/2760002.txt?coolsite=http://anotherurl/?a_second/2760002
37 HTTP/1.1 200 Followed here fine swsclose
38 Date: Thu, 09 Nov 2010 14:49:00 GMT
39 Server: test-server/fake
42 If this is received, the location following worked
53 HTTP Location: following with multiple question marks in URLs
56 "http://%HOSTIP:%HTTPPORT/want?uri=http://anything/276?secondq/276" -L
60 # Verify data after the test has been "shot"
66 GET /want?uri=http://anything/276?secondq/276 HTTP/1.1
67 Host: %HOSTIP:%HTTPPORT
70 GET /data/2760002.txt?coolsite=http://anotherurl/?a_second/2760002 HTTP/1.1
71 Host: %HOSTIP:%HTTPPORT