aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-06-03 07:53:18 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-06-03 07:53:18 +0000
commitbc942de6f1e650d372805294c8e019297fc7654d (patch)
tree4beade74dc364e0f3c08be3b92958a2a1d756e2d /tests/data/test3
parent06984df5cb603ee6942d283c649215cda7c3160f (diff)
Content-Length: now overrides other means of knowing when the stream has
ended.
Diffstat (limited to 'tests/data/test3')
-rw-r--r--tests/data/test39
1 files changed, 8 insertions, 1 deletions
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
</data>
+<datacheck>
+HTTP/1.0 200 OK
+Server: test-server/fake
+Content-Type: text/html
+Content-Length: 0
+
+</datacheck>
</reply>
#
@@ -18,7 +25,7 @@ this is data even though Content-Length is set to zero
http
</server>
<name>
-HTTP POST with user and password
+HTTP POST with auth and contents but with content-length set to 0
</name>
<command>
-d "fooo=mooo&pooo=clue&doo=%20%20%20++++" -u "fake:-user" http://%HOSTIP:%HOSTPORT/3