HTTP
HTTP HEAD
#
# Server-side
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Transfer-Encoding: chunked
HEAD response with content
# make sure no data is written
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Transfer-Encoding: chunked
#
# Client-side
http
HTTP HEAD with response body to ignore
-I http://%HOSTIP:%HTTPPORT/%TESTNUMBER --http1.1
#
# Verify data after the test has been "shot"
HEAD /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*