mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-10 07:12:20 -05:00
revert to last good
This commit is contained in:
@@ -76,7 +76,11 @@ class ResponseHeaderMiddleware(object):
|
||||
if SPAN_ID_HEADER.lower() not in lower_existing_header_names:
|
||||
headers.append((SPAN_ID_HEADER, str(req.span_id)))
|
||||
|
||||
print(headers)
|
||||
headers = [
|
||||
(key, value) for key, value in headers if key.lower() != "server"
|
||||
]
|
||||
headers.append(("Server", "SecureServer"))
|
||||
|
||||
return start_response(status, headers, exc_info)
|
||||
|
||||
return self._app(environ, rewrite_response_headers)
|
||||
|
||||
Reference in New Issue
Block a user