HTTP
HTTP POST
HTTP replaced headers
#
# Server-side
HTTP/1.0 200 OK
Server: test-server/fake
Content-Type: text/html
Content-Length: 6
blaha
#
# Client-side
http
HTTP POST with custom content-type
-d "hejsanallabarn" -H "Content-Type: silly/type" http://%HOSTIP:%HTTPPORT/%TESTNUMBER
#
# Verify data after the test has been "shot"
POST /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
Content-Type: silly/type
Content-Length: 14
hejsanallabarn