forked from indymedia/epicyon
Extra http headers
parent
ec174d336d
commit
5f84a80b7a
|
@ -377,6 +377,10 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.send_header('Host', self.server.domainFull)
|
self.send_header('Host', self.server.domainFull)
|
||||||
self.send_header('InstanceID', self.server.instanceId)
|
self.send_header('InstanceID', self.server.instanceId)
|
||||||
self.send_header('X-Robots-Tag','noindex')
|
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.end_headers()
|
self.end_headers()
|
||||||
|
|
||||||
def _redirect_headers(self,redirect: str,cookie: str) -> None:
|
def _redirect_headers(self,redirect: str,cookie: str) -> None:
|
||||||
|
|
Loading…
Reference in New Issue