aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/language/http.py
diff options
context:
space:
mode:
authorharsh vijay <iharsh234@gmail.com>2017-05-02 05:19:25 +0530
committerGitHub <noreply@github.com>2017-05-02 05:19:25 +0530
commite24b4cc1b64455b8b9b5d1265103054bb8b3a8af (patch)
treee7e9474787505ffbaa348fbd0235529adb74f0e7 /pathod/language/http.py
parent53ad658e9f59743b72cb234f9b160aa6dc3d1f72 (diff)
downloadmitmproxy-e24b4cc1b64455b8b9b5d1265103054bb8b3a8af.tar.gz
mitmproxy-e24b4cc1b64455b8b9b5d1265103054bb8b3a8af.tar.bz2
mitmproxy-e24b4cc1b64455b8b9b5d1265103054bb8b3a8af.zip
Extend Mypy checking to pathod
* mypy checking pathod * initial commit , fixed errors * tox: mypy checking to pathod * Fixed mypy test failed * issue was with args in custom_contentview.py * tox: mypy checking to #2221 * follow-import=skip since we cant provide args to custom_contentview.py during mypy testing * Lint , Typo Fixed * code style: module import
Diffstat (limited to 'pathod/language/http.py')
-rw-r--r--pathod/language/http.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pathod/language/http.py b/pathod/language/http.py
index 8fcf9edc..5cd717a9 100644
--- a/pathod/language/http.py
+++ b/pathod/language/http.py
@@ -54,7 +54,7 @@ class Method(base.OptionsOrValue):
class _HeaderMixin:
- unique_name = None
+ unique_name = None # type: ignore
def format_header(self, key, value):
return [key, b": ", value, b"\r\n"]
@@ -143,7 +143,7 @@ class _HTTPMessage(message.Message):
class Response(_HTTPMessage):
- unique_name = None
+ unique_name = None # type: ignore
comps = (
Header,
ShortcutContentType,