diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-07-29 11:26:10 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-07-30 19:42:48 +0200 |
commit | 31dbd2fc7595d709e41523f3586dfdc02feb07dd (patch) | |
tree | e21889f43750cb979424dcd928510c7bd94efacb /libpathod/language/http.py | |
parent | d301f55bb7df5d4f8156153a36fd600c04b77115 (diff) | |
download | mitmproxy-31dbd2fc7595d709e41523f3586dfdc02feb07dd.tar.gz mitmproxy-31dbd2fc7595d709e41523f3586dfdc02feb07dd.tar.bz2 mitmproxy-31dbd2fc7595d709e41523f3586dfdc02feb07dd.zip |
use netlib http semantics
Diffstat (limited to 'libpathod/language/http.py')
-rw-r--r-- | libpathod/language/http.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpathod/language/http.py b/libpathod/language/http.py index 380a5d64..2e8d2af3 100644 --- a/libpathod/language/http.py +++ b/libpathod/language/http.py @@ -7,6 +7,9 @@ import netlib.websockets from netlib.http import status_codes, user_agents from . import base, exceptions, actions, message +# TODO: use netlib.semantics.protocol assemble method, +# instead of duplicating the HTTP on-the-wire representation here. +# see http2 language for an example class WS(base.CaselessLiteral): TOK = "ws" |