From 723bfe42e7d0de40fd80b25ec64a88122f2c69f1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 23 Aug 2004 12:34:55 +0000 Subject: Roman Koifman pointed out that libcurl send Expect: 100-continue on POSTs and PUTs even when told to use HTTP 1.0, which is not correct. --- tests/data/test181 | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 tests/data/test181 (limited to 'tests/data/test181') diff --git a/tests/data/test181 b/tests/data/test181 new file mode 100644 index 000000000..db7d92dc8 --- /dev/null +++ b/tests/data/test181 @@ -0,0 +1,59 @@ + + +HTTP/1.0 200 OK swsclose +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake + +blablabla + + + + +# Client-side + + +http + + +HTTP 1.0 POST + + +http://%HOSTIP:%HOSTPORT/we/want/181 --data-binary @log/test181.txt --http1.0 + + +Weird + file + to + upload +for + testing +the + POST + feature + + + +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +POST /we/want/181 HTTP/1.0 +Host: 127.0.0.1:8999 +Pragma: no-cache +Accept: */* +Content-Length: 79 +Content-Type: application/x-www-form-urlencoded + +Weird + file + to + upload +for + testing +the + POST + feature + + -- cgit v1.2.3