mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
fix typo
This commit is contained in:
parent
4339b8e7fa
commit
5746472426
@ -469,7 +469,7 @@ class HttpLayer(Layer):
|
||||
|
||||
def validate_request(self, request):
|
||||
if request.form_in == "absolute" and request.scheme != "http":
|
||||
self.send_resplonse(make_error_response(400, "Invalid request scheme: %s" % request.scheme))
|
||||
self.send_response(make_error_response(400, "Invalid request scheme: %s" % request.scheme))
|
||||
raise HttpException("Invalid request scheme: %s" % request.scheme)
|
||||
|
||||
expected_request_forms = {
|
||||
|
Loading…
Reference in New Issue
Block a user