diff options
Diffstat (limited to 'tests/data/test1404')
-rw-r--r-- | tests/data/test1404 | 68 |
1 files changed, 35 insertions, 33 deletions
diff --git a/tests/data/test1404 b/tests/data/test1404 index 90b8d6a5f..6426e5701 100644 --- a/tests/data/test1404 +++ b/tests/data/test1404 @@ -44,47 +44,49 @@ dummy data (^User-Agent:.*|-----+\w+) </strip> <protocol> -POST /we/want/1404 HTTP/1.1 -User-Agent: curl/7.18.2 (i686-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.7a ipv6 zlib/1.1.4 -Host: %HOSTIP:%HTTPPORT -Accept: */* -Content-Length: 795 -Expect: 100-continue -Content-Type: multipart/form-data; boundary=----------------------------9ef8d6205763 - -------------------------------9ef8d6205763 -Content-Disposition: form-data; name="name" - -value -------------------------------9ef8d6205763 -Content-Disposition: form-data; name="file" -Content-Type: multipart/mixed; boundary=----------------------------aaaaaaaaaaaa - -Content-Disposition: attachment; filename="test1404.txt" -Content-Type: text/plain - +POST /we/want/1404 HTTP/1.1
+User-Agent: curl/7.18.2 (i686-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.7a ipv6 zlib/1.1.4
+Host: %HOSTIP:%HTTPPORT
+Accept: */*
+Content-Length: 795
+Expect: 100-continue
+Content-Type: multipart/form-data; boundary=----------------------------9ef8d6205763
+
+------------------------------9ef8d6205763
+Content-Disposition: form-data; name="name"
+
+value
+------------------------------9ef8d6205763
+Content-Disposition: form-data; name="file"
+Content-Type: multipart/mixed; boundary=----------------------------aaaaaaaaaaaa
+
+Content-Disposition: attachment; filename="test1404.txt"
+Content-Type: text/plain
+
dummy data - -------------------------------9ef8d6205763 -Content-Disposition: attachment; filename="test1404.txt" -Content-Type: magic/content - +
+------------------------------9ef8d6205763
+Content-Disposition: attachment; filename="test1404.txt"
+Content-Type: magic/content
+
dummy data - -------------------------------9ef8d6205763 -Content-Disposition: attachment; filename="test1404.txt" -Content-Type: text/plain - +
+------------------------------9ef8d6205763
+Content-Disposition: attachment; filename="test1404.txt"
+Content-Type: text/plain
+
dummy data - -------------------------------aaaaaaaaaaaa-- -------------------------------9ef8d6205763-- +
+------------------------------aaaaaaaaaaaa--
+------------------------------9ef8d6205763--
</protocol> <stripfile> # curl's default user-agent varies with version, libraries etc. s/(USERAGENT, \")[^\"]+/${1}stripped/ -# CURLOPT_SSL_VERIFYPEER varies with configuration - just ignore it +# CURLOPT_SSL_VERIFYPEER and SSH_KNOWNHOSTS vary with configurations - just +# ignore them $_ = '' if /CURLOPT_SSL_VERIFYPEER/ +$_ = '' if /CURLOPT_SSH_KNOWNHOSTS/ </stripfile> <file name="log/test1404.c"> /********* Sample code generated by the curl command line tool ********** |