mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 10:16:27 +00:00
minor changes to stay in sync with sans-io
This commit is contained in:
parent
76c056affd
commit
b6123eede6
@ -291,7 +291,7 @@ class HttpLayer(base.Layer):
|
|||||||
self.channel.ask("error", f)
|
self.channel.ask("error", f)
|
||||||
raise exceptions.ProtocolException(
|
raise exceptions.ProtocolException(
|
||||||
"HTTP protocol error in client request: {}".format(e)
|
"HTTP protocol error in client request: {}".format(e)
|
||||||
)
|
) from e
|
||||||
|
|
||||||
self.log("request", "debug", [repr(request)])
|
self.log("request", "debug", [repr(request)])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user