add HTTP/1.1 ALPN version string

This commit is contained in:
Thomas Kriechbaumer 2015-08-15 17:49:59 +02:00
parent f3a6113391
commit b7e6e1c9b2

View File

@ -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)