summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Keil <fk@fabiankeil.de>2012-11-21 16:01:59 +0100
committerDaniel Stenberg <daniel@haxx.se>2012-11-21 22:13:44 +0100
commitef6f0403556afecc0a595915e016e7889eef0eb8 (patch)
tree07c4c2fadf7cded22d2713e2621c55e38161116f
parentc1dd687af6ca3d974153006c6ec6b39c55dda1c8 (diff)
downloadcurl-ef6f0403556afecc0a595915e016e7889eef0eb8.tar.gz
Test 206: Use a Content-Length header for the 407 response
Otherwise curl would have to guess where the body ends.
-rw-r--r--tests/data/test2062
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/data/test206 b/tests/data/test206
index 5e4fc5cc9..9c1e0248d 100644
--- a/tests/data/test206
+++ b/tests/data/test206
@@ -20,6 +20,7 @@ connection-monitor
<data>
HTTP/1.1 407 Authorization Required to proxy me my dear
Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
+Content-Length: 33
And you should ignore this data.
</data>
@@ -46,6 +47,7 @@ Server: no
<datacheck>
HTTP/1.1 407 Authorization Required to proxy me my dear
Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
+Content-Length: 33
HTTP/1.1 200 OK swsbounce
Server: no