mirror of
https://github.com/curl/curl.git
synced 2025-03-19 15:40:42 +08: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:
parent
c1dd687af6
commit
ef6f040355
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user