diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-05-31 20:51:06 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-05-31 20:51:06 +1200 |
commit | 4da125b6a098cc0fd8b1fd2878584beb5df75c6c (patch) | |
tree | cb86e2e483530f5e1e8b0c5d60839de21fcf7390 | |
parent | 42e91fcfe1d27ca989c75a7939f652fdfcc47604 (diff) | |
download | mitmproxy-4da125b6a098cc0fd8b1fd2878584beb5df75c6c.tar.gz mitmproxy-4da125b6a098cc0fd8b1fd2878584beb5df75c6c.tar.bz2 mitmproxy-4da125b6a098cc0fd8b1fd2878584beb5df75c6c.zip |
Fix tests harder
-rw-r--r-- | netlib/http/http2/connections.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netlib/http/http2/connections.py b/netlib/http/http2/connections.py index 7c7ad693..16bdf618 100644 --- a/netlib/http/http2/connections.py +++ b/netlib/http/http2/connections.py @@ -7,7 +7,7 @@ import hyperframe.frame from hpack.hpack import Encoder, Decoder from ... import utils from .. import Headers, Response, Request, url -from . import frame +from . import framereader class TCPHandler(object): @@ -280,7 +280,7 @@ class HTTP2Protocol(object): def read_frame(self, hide=False): while True: - frm = frame.http2_read_frame(self.tcp_handler.rfile) + frm = framereader.http2_read_frame(self.tcp_handler.rfile) if not hide and self.dump_frames: # pragma no cover print(frm.human_readable("<<")) |