From 93357ef017dcb0fd6fdbfaeff07e6644e9c80767 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 28 Aug 2008 02:18:44 +0000 Subject: Added test 1069 to test PUT from stdin without content length. It fails in a similar manner to test 1065 so is added to DISABLED. --- tests/data/test1069 | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 tests/data/test1069 (limited to 'tests/data/test1069') diff --git a/tests/data/test1069 b/tests/data/test1069 new file mode 100644 index 000000000..11b2ce681 --- /dev/null +++ b/tests/data/test1069 @@ -0,0 +1,50 @@ + + + +HTTP +HTTP PUT + + + +# Server-side + + +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 from stdin with no content length + + +http://%HOSTIP:%HTTPPORT/bzz/1069 -T - -0 + + +more than one byte + + + +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +PUT /bzz/1069 HTTP/1.0 +Host: %HOSTIP:%HTTPPORT +Accept: */* +Content-Length: 0 + + + + -- cgit v1.2.3