HTTP HTTP GET followlocation # Server-side HTTP/1.1 301 This is a weirdo text message swsbounce Server: test-server/fake Location: //somewhere.example.com/reply/1314 Content-Length: 32 Connection: close Redirect to the same URL again! HTTP/1.1 200 okidoki Server: test-server/fake Content-Length: 4 Connection: close moo HTTP/1.1 301 This is a weirdo text message swsbounce Server: test-server/fake Location: //somewhere.example.com/reply/1314 Content-Length: 32 Connection: close HTTP/1.1 200 okidoki Server: test-server/fake Content-Length: 4 Connection: close moo # Client-side http HTTP Location: following a // prefixed url http://firstplace.example.com/want/1314 -L -x http://%HOSTIP:%HTTPPORT # Verify data after the test has been "shot" ^User-Agent: curl/.* GET http://firstplace.example.com/want/1314 HTTP/1.1 Host: firstplace.example.com Accept: */* Proxy-Connection: Keep-Alive GET http://somewhere.example.com/reply/1314 HTTP/1.1 Host: somewhere.example.com Accept: */* Proxy-Connection: Keep-Alive