delete print statement (#227)

This commit is contained in:
Alexander Botello 2018-11-21 10:25:45 -06:00 committed by Tom Christie
parent 9fa4b56030
commit b3a1bef1a7
1 changed files with 0 additions and 1 deletions

View File

@ -39,7 +39,6 @@ class TrustedHostMiddleware:
if found_www_redirect and self.www_redirect:
url = URL(scope=scope)
redirect_url = url.replace(netloc="www." + url.netloc)
print(redirect_url)
return RedirectResponse(url=str(redirect_url))
return PlainTextResponse("Invalid host header", status_code=400)