5 HTTP/1.1 200 OK swsclose
6 Date: Thu, 09 Nov 2010 14:49:00 GMT
7 Server: test-server/fake
21 HTTP RFC1867-formpost a file from stdin with "faked" filename
24 http://%HOSTIP:%HTTPPORT/we/want/173 -F field1=contents1 -F "fileupload=@-;filename=/dev/null"
39 # Verify data after the test has been "shot"
42 ^(User-Agent:|Content-Type: multipart/form-data;|------------).*
45 POST /we/want/173 HTTP/1.1
46 User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
47 Host: %HOSTIP:%HTTPPORT
51 Content-Type: multipart/form-data; boundary=----------------------------5dbea401cd8c
53 ------------------------------5dbea401cd8c
54 Content-Disposition: form-data; name="field1"
57 ------------------------------5dbea401cd8c
58 Content-Disposition: form-data; name="fileupload"; filename="/dev/null"
59 Content-Type: application/octet-stream
70 ------------------------------5dbea401cd8c--