From b7e6e1c9b2c57270ee0c49af9235a2b119600056 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Sat, 15 Aug 2015 17:49:59 +0200 Subject: add HTTP/1.1 ALPN version string --- netlib/http/http1/protocol.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'netlib') diff --git a/netlib/http/http1/protocol.py b/netlib/http/http1/protocol.py index 8eeb7744..dc33a8af 100644 --- a/netlib/http/http1/protocol.py +++ b/netlib/http/http1/protocol.py @@ -17,6 +17,8 @@ class TCPHandler(object): class HTTP1Protocol(semantics.ProtocolMixin): + ALPN_PROTO_HTTP1 = 'http/1.1' + def __init__(self, tcp_handler=None, rfile=None, wfile=None): self.tcp_handler = tcp_handler or TCPHandler(rfile, wfile) -- cgit v1.2.3