HTTP
referer
autoreferer
# Server-side
HTTP/1.1 301 redirect
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: server.example.com
Content-Length: 47
Location: %TESTNUMBER0002
file contents should appear once for each file
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: server.example.com
Content-Length: 47
file contents should appear once for each file
# Client-side
http
lib%TESTNUMBER
verify CURLOPT_AUTOREFERER switched off
http://%HOSTIP:%HTTPPORT
# Verify data after the test has been "shot"
GET / HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
GET /%TESTNUMBER0002 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
Referer: http://%HOSTIP:%HTTPPORT/
GET / HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*