aboutsummaryrefslogtreecommitdiffstats
path: root/pathod
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 /pathod
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 'pathod')
-rw-r--r--pathod/pathoc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pathod/pathoc.py b/pathod/pathoc.py
index b177d556..18dcccf2 100644
--- a/pathod/pathoc.py
+++ b/pathod/pathoc.py
@@ -352,7 +352,7 @@ class Pathoc(tcp.TCPClient):
timeout: If specified None may be yielded instead if timeout is
reached. If timeout is None, wait forever. If timeout is 0, return
- immedately if nothing is on the queue.
+ immediately if nothing is on the queue.
finish: If true, consume messages until the reader shuts down.
Otherwise, return None on timeout.
@@ -434,7 +434,7 @@ class Pathoc(tcp.TCPClient):
req = language.serve(r, self.wfile, self.settings)
self.wfile.flush()
- # build a dummy request to read the reponse
+ # build a dummy request to read the response
# ideally this would be returned directly from language.serve
dummy_req = net_http.Request(
first_line_format="relative",
@@ -471,7 +471,7 @@ class Pathoc(tcp.TCPClient):
"""
Performs a single request.
- r: A language.message.Messsage object, or a string representing
+ r: A language.message.Message object, or a string representing
one.
Returns Response if we have a non-ignored response.