Commit ef6f0403 authored by Fabian Keil's avatar Fabian Keil Committed by Daniel Stenberg
Browse files

Test 206: Use a Content-Length header for the 407 response

Otherwise curl would have to guess where the body ends.
parent c1dd687a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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