diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-08-26 20:58:00 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-08-26 20:58:00 +0200 |
commit | 3e3b59aa71a596fcddd14e72612067923a0d9b21 (patch) | |
tree | 0352d82d107e01dd58439b1846e935c561612eea /netlib/http | |
parent | de0ced73f8e14aec8f94ea93c0ba0165026e09fc (diff) | |
download | mitmproxy-3e3b59aa71a596fcddd14e72612067923a0d9b21.tar.gz mitmproxy-3e3b59aa71a596fcddd14e72612067923a0d9b21.tar.bz2 mitmproxy-3e3b59aa71a596fcddd14e72612067923a0d9b21.zip |
http2: fix priority stream dependency check
Diffstat (limited to 'netlib/http')
-rw-r--r-- | netlib/http/http2/frame.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/netlib/http/http2/frame.py b/netlib/http/http2/frame.py index 24e6510a..b36b3adf 100644 --- a/netlib/http/http2/frame.py +++ b/netlib/http/http2/frame.py @@ -290,9 +290,6 @@ class PriorityFrame(Frame): raise ValueError( 'PRIORITY frames MUST be associated with a stream.') - if self.stream_dependency == 0x0: - raise ValueError('stream dependency is invalid.') - return struct.pack( '!LB', (int( |