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
#
# Verify data after the test has been "shot"
^User-Agent:.*
GET http://127.0.0.1:%HTTPPORT/93 HTTP/1.1
Host: 127.0.0.1:%HTTPPORT
Pragma: no-cache
Accept: */*
Proxy-Connection: Keep-Alive