We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1ab0ce commit 69e59e9Copy full SHA for 69e59e9
1 file changed
Lib/http/server.py
@@ -768,7 +768,7 @@ def _send_extra_response_headers(self):
768
for header, value in self.extra_response_headers:
769
# Don't send the header if it's already sent
770
# as part of the default response headers
771
- if header not in default_headers:
+ if header.lower() not in default_headers:
772
self.send_header(header, value, _is_extra=True)
773
774
def send_head(self):
0 commit comments