HTTP HTTP GET HTTP proxy followlocation # Server-side HTTP/1.1 302 This is a weirdo text message Connection: close Location: http:////foo.example.com/want/%TESTNUMBER0001 This server reply is for testing HTTP/1.1 200 hello Connection: close Content-Length: 4 hej HTTP/1.1 302 This is a weirdo text message Connection: close Location: http:////foo.example.com/want/%TESTNUMBER0001 # Client-side http HTTP redirect to http://// (four slashes!) %HOSTIP:%HTTPPORT/want/%TESTNUMBER -L -x http://%HOSTIP:%HTTPPORT proxy # Verify data after the test has been "shot" GET http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* Proxy-Connection: Keep-Alive # 3, CURLE_URL_MALFORMAT for the four slashes 3