Add expires header

main
Bob Mottram 2021-06-12 18:32:14 +01:00
parent 1a4a41057b
commit cf47c90e2c
1 changed files with 1 additions and 0 deletions

View File

@ -613,6 +613,7 @@ class PubServer(BaseHTTPRequestHandler):
self.send_header('Cache-Control', 'public') self.send_header('Cache-Control', 'public')
self.send_header('Referrer-Policy', 'origin') self.send_header('Referrer-Policy', 'origin')
self.send_header('Accept-Ranges', 'none') self.send_header('Accept-Ranges', 'none')
self.send_header('Expires', 'Sun, 12 Jun 2050 17:28:50 GMT')
def _set_headers(self, fileFormat: str, length: int, cookie: str, def _set_headers(self, fileFormat: str, length: int, cookie: str,
callingDomain: str) -> None: callingDomain: str) -> None: