aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/net
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 /mitmproxy/net
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 'mitmproxy/net')
-rw-r--r--mitmproxy/net/http/http1/read.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mitmproxy/net/http/http1/read.py b/mitmproxy/net/http/http1/read.py
index 0f70b1a7..294e8358 100644
--- a/mitmproxy/net/http/http1/read.py
+++ b/mitmproxy/net/http/http1/read.py
@@ -43,7 +43,7 @@ def read_request_head(rfile):
Raises:
exceptions.HttpReadDisconnect: No bytes can be read from rfile.
exceptions.HttpSyntaxException: The input is malformed HTTP.
- exceptions.HttpException: Any other error occured.
+ exceptions.HttpException: Any other error occurred.
"""
timestamp_start = time.time()
if hasattr(rfile, "reset_timestamps"):
@@ -82,7 +82,7 @@ def read_response_head(rfile):
Raises:
exceptions.HttpReadDisconnect: No bytes can be read from rfile.
exceptions.HttpSyntaxException: The input is malformed HTTP.
- exceptions.HttpException: Any other error occured.
+ exceptions.HttpException: Any other error occurred.
"""
timestamp_start = time.time()