Replies: 1 comment 2 replies
-
What would you expect reading from the response stream to do? The response stream is for writing bytes back to the requester; it “gets read” far away over the network. It also can’t be seeked (sought?) for the same reason. You can’t un-transmit bytes. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are using ASP .NET core 6.0.33 and woud like to read from ControllerBase.Response.Body (or ControllerBase.HttpContext.Response.Body) , which is a Stream. It seems any further operation on that Stream will fail and we got "Stream error in the HTTP/2 framing layer" as the response.
The actual type of that Stream is HttpResponseStream and the source code shows that all its read functions are "Not Supported". And "CanRead" is also "false". And we guess those leads to that error response above.
Could anyone share your insights on these questions:
Beta Was this translation helpful? Give feedback.
All reactions