no Content-Length on CONNECT responses
[m6w6/ext-http] / tests / proxy.inc
index 89d31f4c53408f62343d0d35190c1a416802808f..d6803db656c15280b98578e85f2621c9b91e43ee 100644 (file)
@@ -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 */