5 HTTP/1.1 200 OK swsclose
6 Date: Thu, 09 Nov 2010 14:49:00 GMT
7 Server: test-server/fake
20 HTTP formpost a file with spaces in name
23 http://%HOSTIP:%HTTPPORT/we/want/166 -F "name=@log/fie ld 166"
25 # We create this file before the command is invoked!
26 <file name="log/fie ld 166">
31 # Verify data after the test has been "shot"
34 ^(User-Agent:|Content-Type: multipart/form-data;|------------).*
37 POST /we/want/166 HTTP/1.1
38 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
39 Host: %HOSTIP:%HTTPPORT
43 Content-Type: multipart/form-data; boundary=----------------------------b0b3d6d23991
45 ------------------------------b0b3d6d23991
46 Content-Disposition: form-data; name="name"; filename="fie ld 166"
47 Content-Type: application/octet-stream
51 ------------------------------b0b3d6d23991--