HTTP
HTTP GET
Basic
#
# Server-side
HTTP/1.1 302 go go go
Content-Length: 8
Location: http://%HOSTIP:%HTTPPORT/user/%TESTNUMBER0002
Content-Type: text/html
Funny-head: yesyes
notreal
HTTP/1.1 200 OK
Content-Length: 6
Content-Type: text/html
Funny-head: yesyes
final
#
# Client-side
http
-u with redirect to absolute URL using same origin and auth
http://first:secret@%HOSTIP:%HTTPPORT/%TESTNUMBER -L -u smith:doggie
#
# Verify data after the test has been "shot"
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Authorization: Basic c21pdGg6ZG9nZ2ll
User-Agent: curl/%VERSION
Accept: */*
GET /user/%TESTNUMBER0002 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Authorization: Basic c21pdGg6ZG9nZ2ll
User-Agent: curl/%VERSION
Accept: */*