mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
Handle case when scheme is None
This commit is contained in:
parent
268e42e55e
commit
e0ed7699ca
@ -28,7 +28,7 @@ class RequestData(message.MessageData):
|
||||
|
||||
self.first_line_format = first_line_format
|
||||
self.method = method
|
||||
self.scheme = scheme
|
||||
self.scheme = scheme or b''
|
||||
self.host = host
|
||||
self.port = port
|
||||
self.path = path
|
||||
|
Loading…
Reference in New Issue
Block a user