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
36 http://%HOSTIP:%HTTPPORT/we/want/71 -K -
38 # We create this file before the command is invoked!
39 <file name="log/test71.txt">
46 # Verify data after the test has been "shot"
49 ^(User-Agent:|Content-Type: multipart/form-data;|------------).*
52 POST /we/want/71 HTTP/1.1
53 User-Agent: curl/7.10.4 (i686-pc-linux-gnu) libcurl/7.10.4 OpenSSL/0.9.7a ipv6 zlib/1.1.3
54 Host: %HOSTIP:%HTTPPORT
58 Content-Type: multipart/form-data; boundary=----------------------------9ef8d6205763
60 ------------------------------9ef8d6205763
61 Content-Disposition: form-data; name="name"
64 ------------------------------9ef8d6205763
65 Content-Disposition: form-data; name="tool"
68 ------------------------------9ef8d6205763
69 Content-Disposition: form-data; name="file"; filename="test71.txt"
70 Content-Type: text/plain
76 ------------------------------9ef8d6205763--