HTTP HTTP POST FORM flaky # # Server-side # Client-side form-api http # tool is what to use instead of 'curl' lib%TESTNUMBER HTTP multi-part formpost with aborted read callback # Add a delay to give server time to write its output since we otherwise might # not even give it enough time to write its lock file. http://%HOSTIP:%HTTPPORT/%TESTNUMBER # # Verify data after the test has been "shot" s/^--------------------------[A-Za-z0-9]*/------------------------------/ s/boundary=------------------------[A-Za-z0-9]*/boundary=----------------------------/ POST /%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* Content-Length: 780 Content-Type: multipart/form-data; boundary=---------------------------- ------------------------------ Content-Disposition: form-data; name="sendfile"; filename="postit2.c" # CURLE_ABORTED_BY_CALLBACK (42) 42