Skip to content

Commit bbbddfc

Browse files
authored
[test] Remove duplicate http headers. NFC (#25580)
These are already part of `end_headers`.
1 parent d6d3b16 commit bbbddfc

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/common.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2337,12 +2337,6 @@ def do_GET(self):
23372337
raise Exception('browser harness error, excessive response to server - test must be fixed! "%s"' % self.path)
23382338
self.send_response(200)
23392339
self.send_header('Content-type', 'text/plain')
2340-
2341-
self.send_header('Cache-Control', 'no-cache, no-store, must-revalidate, private, max-age=0')
2342-
self.send_header('Expires', '0')
2343-
self.send_header('Pragma', 'no-cache')
2344-
self.send_header('Vary', '*') # Safari insists on caching if this header is not present in addition to the above
2345-
23462340
self.send_header('Connection', 'close')
23472341
self.end_headers()
23482342
self.wfile.write(b'OK')

0 commit comments

Comments
 (0)