HTTP
HTTP GET
HTTP proxy
#
# Server-side
HTTP/1.1 407 Needs proxy authentication
Server: test-server/fake swsclose yesyes
Proxy-Authenticate: Basic "oh please"
Connection: close
bing
#
# Client-side
http
HTTP GET with failed proxy auth
http://%HOSTIP:%HTTPPORT/93 -x %HOSTIP:%HTTPPORT
proxy
#
# Verify data after the test has been "shot"
GET http://%HOSTIP:%HTTPPORT/93 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
Proxy-Connection: Keep-Alive