5 HTTP/1.1 200 OK swsclose
6 Date: Thu, 09 Nov 2010 14:49:00 GMT
7 Server: test-server/fake
20 HTTP multipart formpost with contents from a file
23 http://%HOSTIP:%HTTPPORT/we/want/163 -F "name=<log/field163" -F tool=curl
25 # We create this file before the command is invoked!
26 <file name="log/field163">
39 # Verify data after the test has been "shot"
42 ^(User-Agent:|Content-Type: multipart/form-data;|------------).*
45 POST /we/want/163 HTTP/1.1
\r
46 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
47 Host: %HOSTIP:%HTTPPORT
\r
50 Expect: 100-continue
\r
51 Content-Type: multipart/form-data; boundary=----------------------------c2d1767eb6ac
\r
53 ------------------------------c2d1767eb6ac
\r
54 Content-Disposition: form-data; name="name"
\r
66 ------------------------------c2d1767eb6ac
\r
67 Content-Disposition: form-data; name="tool"
\r
70 ------------------------------c2d1767eb6ac--
\r