1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

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:
Fabian Keil 2012-11-21 16:01:59 +01:00 committed by Daniel Stenberg
parent c1dd687af6
commit ef6f040355

View File

@ -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