12 HTTP/1.1 200 OK swsclose
13 Date: Thu, 09 Nov 2010 14:49:00 GMT
14 Server: test-server/fake
27 HTTP formpost a file with spaces in name
30 http://%HOSTIP:%HTTPPORT/we/want/166 -F "name=@log/fie ld 166"
32 # We create this file before the command is invoked!
33 <file name="log/fie ld 166">
38 # Verify data after the test has been "shot"
41 ^(User-Agent:|Content-Type: multipart/form-data;|------------).*
44 POST /we/want/166 HTTP/1.1
\r
45 User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b zlib/1.1.4 c-ares/1.2.0 libidn/0.4.3
\r
46 Host: %HOSTIP:%HTTPPORT
\r
49 Expect: 100-continue
\r
50 Content-Type: multipart/form-data; boundary=----------------------------b0b3d6d23991
\r
52 ------------------------------b0b3d6d23991
\r
53 Content-Disposition: form-data; name="name"; filename="fie ld 166"
\r
54 Content-Type: application/octet-stream
\r
58 ------------------------------b0b3d6d23991--
\r