fix werkzeug server header

This commit is contained in:
Kenneth Kehl
2025-02-03 14:38:43 -08:00
parent e65a9d87d4
commit fa0d308eff
5 changed files with 5 additions and 21 deletions

View File

@@ -95,7 +95,7 @@ class ResponseHeaderMiddleware(object):
if found_a_text_yaml:
headers.append(("Content-Type", "text/plain"))
print(headers)
print(f"MIDDLEWARE HEADERS {headers}")
return start_response(status, headers, exc_info)
return self._app(environ, rewrite_response_headers)