aboutsummaryrefslogtreecommitdiffstats
path: root/netlib
diff options
context:
space:
mode:
Diffstat (limited to 'netlib')
-rw-r--r--netlib/http/http2/frame.py3
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(