Skip to content

Commit 69e59e9

Browse files
authored
Update Lib/http/server.py
1 parent c1ab0ce commit 69e59e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/http/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ def _send_extra_response_headers(self):
768768
for header, value in self.extra_response_headers:
769769
# Don't send the header if it's already sent
770770
# as part of the default response headers
771-
if header not in default_headers:
771+
if header.lower() not in default_headers:
772772
self.send_header(header, value, _is_extra=True)
773773

774774
def send_head(self):

0 commit comments

Comments
 (0)