Permalink
Browse files

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

Otherwise curl would have to guess where the body ends.
  • Loading branch information...
1 parent c1dd687 commit ef6f0403556afecc0a595915e016e7889eef0eb8 Fabian Keil committed with bagder Nov 21, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/data/test206
View
@@ -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

0 comments on commit ef6f040

Please sign in to comment.