aboutsummaryrefslogtreecommitdiffstats
path: root/examples/complex/stream_modify.py
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-02-24 21:45:11 -0500
committerluz.paz <luzpaz@users.noreply.github.com>2018-02-24 21:45:11 -0500
commitafbb7f117b8be34e35735e4b4b1244ee5c5bbae1 (patch)
tree0af5f0598251973f5921c4cf42c4403f40ff9065 /examples/complex/stream_modify.py
parent6b5b71aefaffebeea9eb0003a25f039686c5b785 (diff)
downloadmitmproxy-afbb7f117b8be34e35735e4b4b1244ee5c5bbae1.tar.gz
mitmproxy-afbb7f117b8be34e35735e4b4b1244ee5c5bbae1.tar.bz2
mitmproxy-afbb7f117b8be34e35735e4b4b1244ee5c5bbae1.zip
Misc. typos
Found via `codespell -q 3 -I ../mitmproxy-word-whitelist.txt` Where whitelist contains: ``` cas doubleclick nd ot seeked statics te thru ```
Diffstat (limited to 'examples/complex/stream_modify.py')
-rw-r--r--examples/complex/stream_modify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/complex/stream_modify.py b/examples/complex/stream_modify.py
index 5e5da95b..46bdcb78 100644
--- a/examples/complex/stream_modify.py
+++ b/examples/complex/stream_modify.py
@@ -3,7 +3,7 @@ This inline script modifies a streamed response.
If you do not need streaming, see the modify_response_body example.
Be aware that content replacement isn't trivial:
- If the transfer encoding isn't chunked, you cannot simply change the content length.
- - If you want to replace all occurences of "foobar", make sure to catch the cases
+ - If you want to replace all occurrences of "foobar", make sure to catch the cases
where one chunk ends with [...]foo" and the next starts with "bar[...].
"""