HTTP HTTP FORMPOST # # Server-side HTTP/1.1 200 OK Date: Thu, 09 Nov 2010 14:49:00 GMT Content-Length: 10 contents1 HTTP/1.1 200 OK Date: Thu, 09 Nov 2010 14:49:00 GMT Content-Length: 10 contents2 # # Client-side http HTTP form posts with handle reset http://%HOSTIP:%HTTPPORT/2073 -F 'name=a;filename=a.pdf' --next http://%HOSTIP:%HTTPPORT/2073 -F 'name=b;filename=b.jpg' # # Verify data after the test has been "shot" ^(User-Agent:|Content-Type: multipart/form-data;|------------).* POST /2073 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* Content-Length: 189 Content-Disposition: form-data; name="name"; filename="a.pdf" Content-Type: application/pdf a POST /2073 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* Content-Length: 184 Content-Disposition: form-data; name="name"; filename="b.jpg" Content-Type: image/jpeg b