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/test180 | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 tests/data/test180 (limited to 'tests/data/test180') diff --git a/tests/data/test180 b/tests/data/test180 new file mode 100644 index 000000000..ac4be829f --- /dev/null +++ b/tests/data/test180 @@ -0,0 +1,58 @@ + + +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 PUT + + +http://%HOSTIP:%HOSTPORT/we/want/180 -T log/test180.txt --http1.0 + + +Weird + file + to + upload +for + testing +the + PUT + feature + + + +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +PUT /we/want/180 HTTP/1.0 +Host: 127.0.0.1:8999 +Pragma: no-cache +Accept: */* +Content-Length: 78 + +Weird + file + to + upload +for + testing +the + PUT + feature + + -- cgit v1.2.3