aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy/proxy.py')
-rw-r--r--libmproxy/proxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py
index 9b21bd22..1fce46d6 100644
--- a/libmproxy/proxy.py
+++ b/libmproxy/proxy.py
@@ -273,7 +273,7 @@ class ProxyHandler(SocketServer.StreamRequestHandler):
cc.close = True
return
- if request._is_response():
+ if isinstance(request, flow.Response):
response = request
request = False
response = response._send(self.mqueue)