From 31dbd2fc7595d709e41523f3586dfdc02feb07dd Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Wed, 29 Jul 2015 11:26:10 +0200 Subject: use netlib http semantics --- libpathod/language/http.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libpathod/language/http.py') 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" -- cgit v1.2.3