HTTP
HTTP GET
HTTP Basic auth
#
# Server-side
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
#
# Client-side
http
HTTP GET with user and password
-u fake:user http://%HOSTIP:%HTTPPORT/2
#
# Verify data after the test has been "shot"
^User-Agent:.*
GET /2 HTTP/1.1
Authorization: Basic ZmFrZTp1c2Vy
Host: 127.0.0.1:%HTTPPORT
Accept: */*
[insert full protocol verifiction dump here]