diff options
-rw-r--r-- | mitmproxy/protocol/http2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/protocol/http2.py b/mitmproxy/protocol/http2.py index 702b1b33..140a94d4 100644 --- a/mitmproxy/protocol/http2.py +++ b/mitmproxy/protocol/http2.py @@ -56,7 +56,7 @@ class SafeH2Connection(H2Connection): with self.lock: if is_zombie(): # pragma: no cover return - self.send_headers(stream_id, headers) + self.send_headers(stream_id, headers.fields) self.conn.send(self.data_to_send()) def safe_send_body(self, is_zombie, stream_id, chunks): |