Testing fastapi infinite streams #1889
Unanswered
SH659
asked this question in
Potential Issue
Replies: 1 comment
-
|
Ah, you'll be seeing this because the HTTPX ASGI transport doesn't currently support streaming responses. (It always attempts to read the entire response, before returning.) There's a PR that resolves this #998 - We we really ought to bring up to date with the latest version of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any how-to?
I spend several hours reading source code and just have surprised. I stuck on this line. I just can't await my
client.send(req, stream=True)because it depends on the line I link above.my stream is infinite e.g.
my env:
Beta Was this translation helpful? Give feedback.
All reactions