diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-08-20 19:53:17 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-08-20 19:53:17 +0200 |
commit | 5746472426d3928497e9c8f85664a46598a044af (patch) | |
tree | 8ddb190a2e6bd5c3fc1f01fd8114ca33782eac7e | |
parent | 4339b8e7fa1140b9138a023e7e61d78cefe6bb02 (diff) | |
download | mitmproxy-5746472426d3928497e9c8f85664a46598a044af.tar.gz mitmproxy-5746472426d3928497e9c8f85664a46598a044af.tar.bz2 mitmproxy-5746472426d3928497e9c8f85664a46598a044af.zip |
fix typo
-rw-r--r-- | libmproxy/protocol2/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/protocol2/http.py b/libmproxy/protocol2/http.py index e227f0ba..e5a434f2 100644 --- a/libmproxy/protocol2/http.py +++ b/libmproxy/protocol2/http.py @@ -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 = { |