Test 206: Use a Content-Length header for the 407 response
Otherwise curl would have to guess where the body ends.
This commit is contained in:
committed by
Daniel Stenberg
parent
c1dd687af6
commit
ef6f040355
@@ -20,6 +20,7 @@ connection-monitor
|
|||||||
<data>
|
<data>
|
||||||
HTTP/1.1 407 Authorization Required to proxy me my dear
|
HTTP/1.1 407 Authorization Required to proxy me my dear
|
||||||
Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
|
Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
|
||||||
|
Content-Length: 33
|
||||||
|
|
||||||
And you should ignore this data.
|
And you should ignore this data.
|
||||||
</data>
|
</data>
|
||||||
@@ -46,6 +47,7 @@ Server: no
|
|||||||
<datacheck>
|
<datacheck>
|
||||||
HTTP/1.1 407 Authorization Required to proxy me my dear
|
HTTP/1.1 407 Authorization Required to proxy me my dear
|
||||||
Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
|
Proxy-Authenticate: Digest realm="weirdorealm", nonce="12345"
|
||||||
|
Content-Length: 33
|
||||||
|
|
||||||
HTTP/1.1 200 OK swsbounce
|
HTTP/1.1 200 OK swsbounce
|
||||||
Server: no
|
Server: no
|
||||||
|
|||||||
Reference in New Issue
Block a user