HTTP
HTTP GET
HTTP Basic auth
HTTP proxy
#
# Server-side
HTTP/1.0 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
contents
#
# Client-side
http
HTTP over proxy with site authentication
http://%HOSTIP:%HTTPPORT/we/want/that/page/84 -x %HOSTIP:%HTTPPORT --user iam:myself
proxy
#
# Verify data after the test has been "shot"
GET http://%HOSTIP:%HTTPPORT/we/want/that/page/84 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Authorization: Basic aWFtOm15c2VsZg==
User-Agent: curl/%VERSION
Accept: */*
Proxy-Connection: Keep-Alive