From 05492baf8d2c970c5e5c3d207549893490ead751 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sat, 9 Jun 2012 16:17:51 +1200 Subject: Move from requests to human_curl. It turns out that _none_ of the Python stdlib or anything that relies on it supports CONNECT through a proxy. Beggars belief, but there you go. --- libmproxy/proxy.py | 1 + 1 file changed, 1 insertion(+) (limited to 'libmproxy') diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py index 9249de86..2d4ee988 100644 --- a/libmproxy/proxy.py +++ b/libmproxy/proxy.py @@ -123,6 +123,7 @@ 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