HTTP
HTTP GET
HTTP proxy
#
# Server-side
HTTP/1.1 200 OK
Server: test-server/fake
Content-Length: 5
bing
HTTP/1.1 200 OK
Server: test-server/fake
Content-Length: 6
wrong
#
# Client-side
http
https
HTTP GET same URL - different proxy ports
http://%HOSTIP:%HTTPPORT/1244 -x %HOSTIP:%HTTPPORT --next http://%HOSTIP:%HTTPPORT/124400001 -x %HOSTIP:%HTTPSPORT
#
# Verify data after the test has been "shot"
# the second request meant to fail
56
^User-Agent:.*
GET http://%HOSTIP:%HTTPPORT/1244 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
Proxy-Connection: Keep-Alive