aboutsummaryrefslogtreecommitdiffstats
path: root/examples/complex/stream_modify.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2018-02-25 22:59:09 +1300
committerGitHub <noreply@github.com>2018-02-25 22:59:09 +1300
commit236d88165499a3927caf193b884ac5e3bff16e67 (patch)
tree0af5f0598251973f5921c4cf42c4403f40ff9065 /examples/complex/stream_modify.py
parent6b5b71aefaffebeea9eb0003a25f039686c5b785 (diff)
parentafbb7f117b8be34e35735e4b4b1244ee5c5bbae1 (diff)
downloadmitmproxy-236d88165499a3927caf193b884ac5e3bff16e67.tar.gz
mitmproxy-236d88165499a3927caf193b884ac5e3bff16e67.tar.bz2
mitmproxy-236d88165499a3927caf193b884ac5e3bff16e67.zip
Merge pull request #2917 from luzpaz/misc-typos
Misc. typos
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[...].
"""