HTTP
HTTP POST
#
# Server-side
# Client-side
http
# tool is what to use instead of 'curl'
lib%TESTNUMBER
send HTTP POST using read callback that returns CURL_READFUNC_ABORT
# the 1s post-command delay helps to prevent a spurious failure on s390
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
#
# Verify data after the test has been "shot"
%if !hyper
POST /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 1
Content-Type: application/x-www-form-urlencoded
%endif
# 42 - aborted by callback
42