diff --git a/tests/data/test540 b/tests/data/test540
index f82b240158..c42cb92dc7 100644
--- a/tests/data/test540
+++ b/tests/data/test540
@@ -6,6 +6,7 @@
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.
@@ -22,6 +23,7 @@ Nice proxy auth sir!
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
Content-Length: 21