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/11420001 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/11420001 # Client-side http HTTP redirect to http://// (four slashes!) %HOSTIP:%HTTPPORT/want/1142 -L -x http://%HOSTIP:%HTTPPORT proxy # Verify data after the test has been "shot" GET http://%HOSTIP:%HTTPPORT/want/1142 HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* Proxy-Connection: Keep-Alive # 3, CURLE_URL_MALFORMAT for the four slashes 3