aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-12-09 15:57:11 -0600
committerBryan Bishop <kanzure@gmail.com>2012-12-09 15:57:11 -0600
commit1c6139e013981bc9279faff41c8e031f74af77c7 (patch)
treed978718d594eeefcf53967603977888b05939d73 /examples
parent9f0db83c486bcf5f6653b4e4164baba27960e1d0 (diff)
downloadmitmproxy-1c6139e013981bc9279faff41c8e031f74af77c7.tar.gz
mitmproxy-1c6139e013981bc9279faff41c8e031f74af77c7.tar.bz2
mitmproxy-1c6139e013981bc9279faff41c8e031f74af77c7.zip
remove trailing whitespace
Diffstat (limited to 'examples')
-rw-r--r--examples/README4
-rw-r--r--examples/stub.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/README b/examples/README
index 9ea6f9a2..ab06ad27 100644
--- a/examples/README
+++ b/examples/README
@@ -1,8 +1,8 @@
add_header.py Simple script that just adds a header to every request.
dup_and_replay.py Duplicates each request, changes it, and then replays the modified request.
flowbasic Basic use of mitmproxy as a library.
-modify_form.py Modify all form submissions to add a parameter.
+modify_form.py Modify all form submissions to add a parameter.
modify_querystring.py Modify all query strings to add a parameters.
-stub.py Script stub with a method definition for every event.
+stub.py Script stub with a method definition for every event.
stickycookies An example of writing a custom proxy with libmproxy.
upsidedownternet.py Rewrites traffic to turn PNGs upside down.
diff --git a/examples/stub.py b/examples/stub.py
index 119298fc..31411145 100644
--- a/examples/stub.py
+++ b/examples/stub.py
@@ -31,7 +31,7 @@ def error(ctx, flow):
"""
Called when a flow error has occured, e.g. invalid server responses, or
interrupted connections. This is distinct from a valid server HTTP error
- response, which is simply a response with an HTTP error code.
+ response, which is simply a response with an HTTP error code.
"""
ctx.log("error")