-
Notifications
You must be signed in to change notification settings - Fork 157
Document the "stream_id" response extension. #693
Copy link
Copy link
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
HTTP/2 responses include a "stream_id" response extension...
httpcore/httpcore/_async/http2.py
Lines 130 to 135 in 1fc3489
| 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation