aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/features
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-02-27 15:24:27 +0100
committerMaximilian Hils <git@maximilianhils.com>2015-02-27 15:24:27 +0100
commite1b6cf940146ca91c6f583a3333b4b50b72875bb (patch)
tree80cedc8e9e15881bc1662ae04e9bb3a488a1646e /doc-src/features
parent8d975e80ffbbf2af5f1d097a21dbb33e17acc6a1 (diff)
downloadmitmproxy-e1b6cf940146ca91c6f583a3333b4b50b72875bb.tar.gz
mitmproxy-e1b6cf940146ca91c6f583a3333b4b50b72875bb.tar.bz2
mitmproxy-e1b6cf940146ca91c6f583a3333b4b50b72875bb.zip
fix #319
Diffstat (limited to 'doc-src/features')
-rw-r--r--doc-src/features/responsestreaming.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc-src/features/responsestreaming.html b/doc-src/features/responsestreaming.html
index 20785269..6511e913 100644
--- a/doc-src/features/responsestreaming.html
+++ b/doc-src/features/responsestreaming.html
@@ -40,10 +40,6 @@ Responses that should be tagged for streaming by setting their respective .strea
$!example("examples/stream.py")!$
-In addition, if the .stream attribute is callable, .stream will work as a hook in chunk data processing.
-
-$!example("examples/stream_modify.py")!$
-
<h2>Implementation Details</h2>
When response streaming is enabled, portions of the code which would have otherwise performed changes
@@ -52,6 +48,11 @@ on the response body will see an empty response body instead (<code>libmproxy.pr
Streamed responses are usually sent in chunks of 4096 bytes. If the response is sent with a <code>Transfer-Encoding:
chunked</code> header, the response will be streamed one chunk at a time.
+<h2>Modifying streamed data</h2>
+If the <code>.stream</code> attribute is callable, .stream will work as a hook in chunk data processing.
+
+$!example("examples/stream_modify.py")!$
+
### See Also
- [Ignore Domains](@!urlTo("passthrough.html")!@)