From 52779d9db98dff042a0b2b5dca97440b520367df Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 10 Jun 2012 13:17:18 +1200 Subject: Refactoring of proxy.py - Correctly pass HTTP request version on to upstream servers - Adjust tests not to hang due to a pathod response with no content-length --- libmproxy/proxy.py | 1 - 1 file changed, 1 deletion(-) (limited to 'libmproxy/proxy.py') diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py index c7e5d972..3be20761 100644 --- a/libmproxy/proxy.py +++ b/libmproxy/proxy.py @@ -123,7 +123,6 @@ def read_http_body(rfile, connection, headers, all, limit): content = rfile.read(limit if limit else None) connection.close = True else: - connection.close = True content = "" return content -- cgit v1.2.3