HTTP/2 responses include a "stream_id" response extension...
|
return Response( |
|
status=status, |
|
headers=headers, |
|
content=HTTP2ConnectionByteStream(self, request, stream_id=stream_id), |
|
extensions={"stream_id": stream_id, "http_version": b"HTTP/2"}, |
|
) |
Which shows the stream ID for this response as used on the HTTP/2 connection.
We should include this in the docs.
HTTP/2 responses include a
"stream_id"response extension...httpcore/httpcore/_async/http2.py
Lines 130 to 135 in 1fc3489
Which shows the stream ID for this response as used on the HTTP/2 connection.
We should include this in the docs.