From: Fabian Keil Date: Wed, 21 Nov 2012 15:01:59 +0000 (+0100) Subject: Test 206: Use a Content-Length header for the 407 response X-Git-Tag: curl-7_29_0~251 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ef6f0403556afecc0a595915e016e7889eef0eb8;p=thirdparty%2Fcurl.git Test 206: Use a Content-Length header for the 407 response Otherwise curl would have to guess where the body ends. --- diff --git a/tests/data/test206 b/tests/data/test206 index 5e4fc5cc9e..9c1e0248df 100644 --- a/tests/data/test206 +++ b/tests/data/test206 @@ -20,6 +20,7 @@ connection-monitor 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. @@ -46,6 +47,7 @@ Server: no 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