diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 1e8de001d..237495543 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -30,7 +30,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test193 test194 test195 test196 test197 test198 test515 test516 \ test517 test518 test210 test211 test212 test220 test221 test222 \ test223 test224 test206 test207 test208 test209 test213 test240 \ - test241 test242 test519 test214 test215 test216 test217 + test241 test242 test519 test214 test215 test216 test217 test218 # The following tests have been removed from the dist since they no longer # work. We need to fix the test suite's FTPS server first, then bring them diff --git a/tests/data/test218 b/tests/data/test218 new file mode 100644 index 000000000..73f193a38 --- /dev/null +++ b/tests/data/test218 @@ -0,0 +1,51 @@ +# +# Server-side + + +HTTP/1.0 200 OK +Server: test-server/fake +Content-Type: text/html +Content-Length: 6 + +blaha + + + +# +# Client-side + + +http + + +HTTP PUT from a file but enforce chunked transfer-encoding + + + -T log/file218 -H "Transfer-Encoding: chunked" http://%HOSTIP:%HTTPPORT/218 + + +just some tiny teeny contents + + + +# +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +PUT /218 HTTP/1.1 +Host: 127.0.0.1:%HTTPPORT +Pragma: no-cache +Accept: */* +Transfer-Encoding: chunked +Expect: 100-continue + +1e +just some tiny teeny contents + +0 + + +