HTTP HTTP CONNECT HTTP/1.1 200 OK Date: Tue, 09 Nov 2010 14:49:00 GMT Accept-Ranges: bytes Content-Length: 6 Connection: close Content-Type: text/html -foo- HTTP/1.1 200 fine Connection: close Content-Length: 0 # # Client-side ftp proxy http HTTP CONNECT with custom headers for proxy and server http://hello/wanted/page -p -x %HOSTIP:%HTTPPORT --header "User-Agent: myapp/1.0" --proxy-header "User-Agent: Benjamin/2" --proxy-header "Host: todeloo" --header "Host: foo" # # Verify data after the test has been "shot" CONNECT hello:80 HTTP/1.1 Proxy-Connection: Keep-Alive User-Agent: Benjamin/2 Host: todeloo GET /wanted/page HTTP/1.1 Host: foo Accept: */* User-Agent: myapp/1.0