HTTP
HTTP POST
#
# Server-side
HTTP/1.1 200 OK swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 3
OK
# Client-side
http
# tool is what to use instead of 'curl'
lib%TESTNUMBER
make a POSTFIELDS set to NULL with POSTFIELDSIZE set to zero
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
#
# Verify data after the test has been "shot"
POST /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 0
Content-Type: application/x-www-form-urlencoded