HTTP
HTTP CONNECT
HTTP proxy
# Server-side
# this is returned first since we get no proxy-auth
HTTP/1.1 200 OK
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 7
Content-Type: text/html
Funny-head: yesyes
first!
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length: 7
Content-Type: text/html
Funny-head: yesyes
daniel
# Client-side
http
https
http-proxy
proxy
HTTPS reuse a proxy with different credentials
https://example.com:%HTTPSPORT/path/%TESTNUMBER --proxy http://user1:pwd1@%HOSTIP:%PROXYPORT --insecure --next https://example.com:%HTTPSPORT/path/%TESTNUMBER0002 --proxy http://user2:pwd2@%HOSTIP:%PROXYPORT --insecure
# Verify data after the test has been "shot"
CONNECT example.com:%HTTPSPORT HTTP/1.1
Host: example.com:%HTTPSPORT
Proxy-Authorization: Basic %b64[user1:pwd1]b64%
User-Agent: curl/%VERSION
Proxy-Connection: Keep-Alive
CONNECT example.com:%HTTPSPORT HTTP/1.1
Host: example.com:%HTTPSPORT
Proxy-Authorization: Basic %b64[user2:pwd2]b64%
User-Agent: curl/%VERSION
Proxy-Connection: Keep-Alive
GET /path/%TESTNUMBER HTTP/1.1
Host: example.com:%HTTPSPORT
User-Agent: curl/%VERSION
Accept: */*
GET /path/%TESTNUMBER0002 HTTP/1.1
Host: example.com:%HTTPSPORT
User-Agent: curl/%VERSION
Accept: */*