Handle case when scheme is None

This commit is contained in:
Shadab Zafar 2016-06-28 13:46:46 +05:30 committed by Maximilian Hils
parent 268e42e55e
commit e0ed7699ca

View File

@ -28,7 +28,7 @@ class RequestData(message.MessageData):
self.first_line_format = first_line_format self.first_line_format = first_line_format
self.method = method self.method = method
self.scheme = scheme self.scheme = scheme or b''
self.host = host self.host = host
self.port = port self.port = port
self.path = path self.path = path