From 10b5327b19735a81878bc0b4aa181ee35eeaa543 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 21 Dec 2004 20:19:05 +0000 Subject: test enforced chunked encoding with PUT on a local file --- tests/data/test218 | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 tests/data/test218 (limited to 'tests/data/test218') 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 + + + -- cgit v1.2.1