By default, mitmproxy will read the entire response, perform any indicated manipulations on it and then send the (possibly modified) response back to the client. In some cases this is undesirable and you may wish to "stream" the reponse back to the client. When streaming is enabled, the response is not buffered but is instead sent directly back to the client. (If HTTP chunked transfer encoding is enabled, the response will be streamed back one chunk at a time.) This is especially useful for large binary files, which are often not what you are trying to inspect, and while buffering cause browser slows. Streaming can be enabled on the command line for all responses which are greater than a certain size. Note that the SIZE argument below can accept the usual prefixes (m, k, etc.)
command-line |
|
---|