I would like to stream data from a python client to an HTTP2 POST request. Meaning, streaming from the client to the server.
I found an example on the httpx documentation that shows how to stream from a response. I would like to do the opposite, stream up to the server in a POST request.
I'm coming from a javascript background, in which the request object is a writeable stream, so I can do something like this:
process.stdin.pipe(request)
// or
pipeline(process.stdin, request)
How can I achieve something similar in Python?