aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/pathod.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2015-07-19 18:17:09 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2015-07-22 15:30:34 +0200
commit11ac387df2a49d132a08648b6cb5121224924c9d (patch)
treea4d141d638211fa4f98d12edc7f07680b3f394a6 /libpathod/pathod.py
parent6d5a3da9294d5bc6758ded173729042573c9fe5f (diff)
downloadmitmproxy-11ac387df2a49d132a08648b6cb5121224924c9d.tar.gz
mitmproxy-11ac387df2a49d132a08648b6cb5121224924c9d.tar.bz2
mitmproxy-11ac387df2a49d132a08648b6cb5121224924c9d.zip
rename content -> body
Diffstat (limited to 'libpathod/pathod.py')
-rw-r--r--libpathod/pathod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpathod/pathod.py b/libpathod/pathod.py
index f8607cca..6f25d0c8 100644
--- a/libpathod/pathod.py
+++ b/libpathod/pathod.py
@@ -212,7 +212,7 @@ class PathodHandler(tcp.BaseHandler):
spec = anchor_gen.next()
if self.use_http2 and isinstance(spec, language.http2.Response):
- spec.stream_id = stream_id
+ spec.stream_id = req.stream_id
lg("crafting spec: %s" % spec)
nexthandler, retlog["response"] = self.http_serve_crafted(