HTTP
HTTP POST
HTTP/1.0
HTTP/1.0 200 OK swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
blablabla
# Client-side
http
HTTP 1.0 POST
http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --data-binary @log/test%TESTNUMBER.txt --http1.0
Weird
file
to
upload
for
testing
the
POST
feature
# Verify data after the test has been "shot"
POST /we/want/%TESTNUMBER HTTP/1.0
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
Content-Length: 79
Content-Type: application/x-www-form-urlencoded
Weird
file
to
upload
for
testing
the
POST
feature