From 4cbaedffba5b00d451c9ff8a3fa92be5266d7b6c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 4 Dec 2019 09:40:13 +0000 Subject: [PATCH] http headers --- daemon.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/daemon.py b/daemon.py index 408834fe1..dc3713c50 100644 --- a/daemon.py +++ b/daemon.py @@ -377,10 +377,9 @@ class PubServer(BaseHTTPRequestHandler): self.send_header('Host', self.server.domainFull) self.send_header('InstanceID', self.server.instanceId) self.send_header('X-Robots-Tag','noindex') - self.send_header('cache-control','public, max-age=315576000, immutable') - self.send_header('x-clacks-overhead','GNU Natalie Nguyen') - self.send_header('access-control-allow-origin','*') - self.send_header('accept-ranges','bytes') + self.send_header('Cache-Control','public, max-age=0') + self.send_header('X-Clacks-Overhead','GNU Natalie Nguyen') + self.send_header('Accept-Ranges','none') self.end_headers() def _redirect_headers(self,redirect: str,cookie: str) -> None: