aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-10-24 00:52:25 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-11-02 08:41:46 +0100
commitca5f9341ef0a941ed478bc5c7e79397b68c2a616 (patch)
tree0e53c2d2a2c023b961d0baf634259e5e901c66b9 /tests/data
parent49a991346e9c6f334d014f16944744a1dac11c64 (diff)
formadd: support >2GB files on windows
Closes #425
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test55447
1 files changed, 47 insertions, 0 deletions
diff --git a/tests/data/test554 b/tests/data/test554
index b55fa3d10..fdbd1868b 100644
--- a/tests/data/test554
+++ b/tests/data/test554
@@ -18,6 +18,22 @@ Content-Type: text/html
hello
</data>
+<datacheck>
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake swsclose
+Connection: close
+Content-Type: text/html
+
+hello
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake swsclose
+Connection: close
+Content-Type: text/html
+
+hello
+</datacheck>
</reply>
# Client-side
@@ -80,6 +96,37 @@ Content-Type: text/plain
blah blah
--------------------------------
+POST /554 HTTP/1.1
+Host: %HOSTIP:%HTTPPORT
+Accept: */*
+Content-Length: 732
+Expect: 100-continue
+Content-Type: multipart/form-data; boundary=----------------------------
+
+------------------------------
+Content-Disposition: form-data; name="sendfile alternative"; filename="file name 2"
+
+this is what we post to the silly web server
+
+------------------------------
+Content-Disposition: form-data; name="callbackdata"
+
+this is what we post to the silly web server
+
+------------------------------
+Content-Disposition: form-data; name="filename"
+
+postit2.c
+------------------------------
+Content-Disposition: form-data; name="submit"
+
+send
+------------------------------
+Content-Disposition: form-data; name="somename"; filename="somefile.txt"
+Content-Type: text/plain
+
+blah blah
+--------------------------------
</protocol>
</verify>
</testcase>