diff --git a/src/examples/h2-example.py b/src/examples/h2-example.py index c03faf7..c6caa5f 100644 --- a/src/examples/h2-example.py +++ b/src/examples/h2-example.py @@ -44,7 +44,7 @@ def make_http2_request(): (':scheme', 'https'), ] c.send_headers( - stream_id=1, + stream_id=c.get_next_available_stream_id(), headers=headers, end_stream=True )