From: Ben Darnell Date: Thu, 12 Jun 2025 15:04:46 +0000 (-0400) Subject: httputil: Remove a debug print left in by mistake X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3511%2Fhead;p=thirdparty%2Ftornado.git httputil: Remove a debug print left in by mistake Found thanks to #3510 --- diff --git a/tornado/httputil.py b/tornado/httputil.py index 7f22da02..bea9145e 100644 --- a/tornado/httputil.py +++ b/tornado/httputil.py @@ -502,7 +502,6 @@ class HTTPServerRequest: else: raise HTTPInputError("Missing Host header") if not _ABNF.host.fullmatch(self.host): - print(_ABNF.host.pattern) raise HTTPInputError("Invalid Host header: %r" % self.host) if "," in self.host: # https://www.rfc-editor.org/rfc/rfc9112.html#name-request-target