From bc942de6f1e650d372805294c8e019297fc7654d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 3 Jun 2003 07:53:18 +0000 Subject: [PATCH] Content-Length: now overrides other means of knowing when the stream has ended. --- tests/data/test3 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/data/test3 b/tests/data/test3 index e6bb28f22..9c42b8328 100644 --- a/tests/data/test3 +++ b/tests/data/test3 @@ -9,6 +9,13 @@ Content-Length: 0 this is data even though Content-Length is set to zero + +HTTP/1.0 200 OK +Server: test-server/fake +Content-Type: text/html +Content-Length: 0 + + # @@ -18,7 +25,7 @@ this is data even though Content-Length is set to zero http -HTTP POST with user and password +HTTP POST with auth and contents but with content-length set to 0 -d "fooo=mooo&pooo=clue&doo=%20%20%20++++" -u "fake:-user" http://%HOSTIP:%HOSTPORT/3