12 HTTP/1.1 200 OK swsclose
13 Date: Thu, 09 Nov 2010 14:49:00 GMT
14 Server: test-server/fake
27 HTTP multipart formpost with contents from a file
30 http://%HOSTIP:%HTTPPORT/we/want/163 -F "name=<log/field163" -F tool=curl
32 # We create this file before the command is invoked!
33 <file name="log/field163">
46 # Verify data after the test has been "shot"
49 ^(User-Agent:|Content-Type: multipart/form-data;|------------).*
52 POST /we/want/163 HTTP/1.1
\r
53 User-Agent: curl/7.11.2-CVS (i686-pc-linux-gnu) libcurl/7.11.2-CVS OpenSSL/0.9.6b zlib/1.1.4 c-ares/1.0.0
\r
54 Host: %HOSTIP:%HTTPPORT
\r
57 Expect: 100-continue
\r
58 Content-Type: multipart/form-data; boundary=----------------------------c2d1767eb6ac
\r
60 ------------------------------c2d1767eb6ac
\r
61 Content-Disposition: form-data; name="name"
\r
73 ------------------------------c2d1767eb6ac
\r
74 Content-Disposition: form-data; name="tool"
\r
77 ------------------------------c2d1767eb6ac--
\r