12 HTTP/1.1 200 OK swsclose
13 Date: Thu, 09 Nov 2010 14:49:00 GMT
14 Server: test-server/fake
28 HTTP and -F upload in config file
33 -F file=@log/test71.txt
37 http://%HOSTIP:%HTTPPORT/we/want/71 -K -
39 # We create this file before the command is invoked!
40 <file name="log/test71.txt">
47 # Verify data after the test has been "shot"
50 ^(Content-Type: multipart/form-data;|------------).*
53 POST /we/want/71 HTTP/1.1
\r
54 Host: %HOSTIP:%HTTPPORT
\r
57 Expect: 100-continue
\r
58 Content-Type: multipart/form-data; boundary=----------------------------9ef8d6205763
\r
60 ------------------------------9ef8d6205763
\r
61 Content-Disposition: form-data; name="name"
\r
64 ------------------------------9ef8d6205763
\r
65 Content-Disposition: form-data; name="tool"
\r
68 ------------------------------9ef8d6205763
\r
69 Content-Disposition: form-data; name="file"; filename="test71.txt"
\r
70 Content-Type: text/plain
\r
76 ------------------------------9ef8d6205763--
\r