From 5e385d65a67052f3bfdf4efffcde7eedd844e34d Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 11 Feb 2015 10:42:34 +0100 Subject: [PATCH] no Content-Length on CONNECT responses --- tests/proxy.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/proxy.inc b/tests/proxy.inc index 89d31f4..d6803db 100644 --- a/tests/proxy.inc +++ b/tests/proxy.inc @@ -9,7 +9,6 @@ foreach (range(8000, 9000) as $port) { if ($request->getHeader("Proxy-Connection")) { $response = new http\Env\Response; - $response->setHeader("Content-Length", 0); $response->send($client); /* soak up the request following the connect */ -- 2.30.2