12 HTTP/1.1 200 OK swsclose
13 Date: Thu, 09 Nov 2010 14:49:00 GMT
14 Server: test-server/fake
28 HTTP RFC1867-formpost a file from stdin with "faked" filename
31 http://%HOSTIP:%HTTPPORT/we/want/173 -F field1=contents1 -F "fileupload=@-;filename=/dev/null;type=text/x-null;format=x-curl"
46 # Verify data after the test has been "shot"
49 ^(User-Agent:|Content-Type: multipart/form-data;|------------).*
52 POST /we/want/173 HTTP/1.1
\r
53 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
\r
54 Host: %HOSTIP:%HTTPPORT
\r
57 Content-Type: multipart/form-data; boundary=----------------------------5dbea401cd8c
\r
59 ------------------------------5dbea401cd8c
\r
60 Content-Disposition: form-data; name="field1"
\r
63 ------------------------------5dbea401cd8c
\r
64 Content-Disposition: form-data; name="fileupload"; filename="/dev/null"
\r
65 Content-Type: text/x-null;format=x-curl
\r
76 ------------------------------5dbea401cd8c--
\r