Remove stray print & massage whitespace a bit
This commit is contained in:
parent
becc790d83
commit
876252eba8
|
@ -1314,9 +1314,7 @@ class HTTPHandler(ProtocolHandler):
|
|||
pass
|
||||
|
||||
elif request.form_in == self.expected_form_in:
|
||||
|
||||
request.form_out = self.expected_form_out
|
||||
|
||||
if request.form_in == "absolute":
|
||||
if request.scheme != "http":
|
||||
raise http.HttpError(
|
||||
|
@ -1348,7 +1346,6 @@ class HTTPHandler(ProtocolHandler):
|
|||
if self.c.config.mode == "sslspoof":
|
||||
# SNI is processed in server.py
|
||||
if not (flow.server_conn and flow.server_conn.ssl_established):
|
||||
print ":::::::::::::::"
|
||||
raise http.HttpError(
|
||||
400,
|
||||
"Invalid request: No host information"
|
||||
|
|
Loading…
Reference in New Issue