-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement streaming request data generation for ClientRequest #1721
Comments
I like your idea, I need to think how implementation could look like |
wow. http://aiohttp.readthedocs.io/en/stable/client_reference.html#aiohttp.ClientSession.request said that: So, it does not mention that this can be stream, actually... Is |
it is new subsystem in 2.0, there is payload registry, it is not documented yet. here is payload implementation for StreamReader https://github.com/aio-libs/aiohttp/blob/master/aiohttp/payload.py#L263 technically |
with payloads you can do fancy stuff like this: https://github.com/aio-libs/aiohttp/blob/master/tests/test_web_functional.py#L1526 |
Superseded by #2802 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs. |
i.e. possible API (pseudocode, actual API may be completely different):
In my case, I have unknown amount of data that sould be sent in the body of the POST-request (i.e. chunked request). Streaming request/response is available for server-side. But for client-side, streaming requests are not available...Maybe I miss something ?
The text was updated successfully, but these errors were encountered: