Is it possible to stream request body?

there is a “–stream” option to stream the response body to the client. is there a way to stream the request body to the server? in other words, i don’t want the proxy to buffer the request. i am trying to test large post uploads (> 3gb) and the proxy crashes due to out-of-memory. thank you.

This is currently not implemented, sorry. The corresponding issue is https://github.com/mitmproxy/mitmproxy/issues/1764.