aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test154
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-19 08:41:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-19 08:41:36 +0000
commit5506f8767cddcdb81f5cd456c4a42dc90dcb1a50 (patch)
treedf312a1884e19a46a412ab2ddcc09c9a10c2bcfb /tests/data/test154
parent58879458288bb71b82860f58fc579d573879b526 (diff)
Make the server include "Connection: close" in the headers of the replies
it actually will close. This is after all what HTTP 1.1 says a server should do.
Diffstat (limited to 'tests/data/test154')
-rw-r--r--tests/data/test1544
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/data/test154 b/tests/data/test154
index e9321a308..b9b9649c7 100644
--- a/tests/data/test154
+++ b/tests/data/test154
@@ -10,6 +10,7 @@ WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344"
Content-Type: text/html; charset=iso-8859-1
+Connection: close
This is not the real page
</data>
@@ -21,6 +22,7 @@ HTTP/1.1 200 OK swsclose
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
Content-Type: text/html; charset=iso-8859-1
Content-Length: 23
+Connection: close
This IS the real page!
</data1000>
@@ -32,11 +34,13 @@ WWW-Authenticate: Blackmagic realm="gimme all yer s3cr3ts"
WWW-Authenticate: Basic realm="gimme all yer s3cr3ts"
WWW-Authenticate: Digest realm="gimme all yer s3cr3ts", nonce="11223344"
Content-Type: text/html; charset=iso-8859-1
+Connection: close
HTTP/1.1 200 OK swsclose
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
Content-Type: text/html; charset=iso-8859-1
Content-Length: 23
+Connection: close
This IS the real page!
</datacheck>