Restore headers

They're not preventing avatar images from showing
main
Bob Mottram 2021-06-12 12:43:41 +01:00
parent 9d3f0e213c
commit 6ada1e5668
1 changed files with 5 additions and 5 deletions

View File

@ -607,12 +607,12 @@ class PubServer(BaseHTTPRequestHandler):
self.send_header('Cookie', cookieStr) self.send_header('Cookie', cookieStr)
self.send_header('Host', callingDomain) self.send_header('Host', callingDomain)
self.send_header('InstanceID', self.server.instanceId) self.send_header('InstanceID', self.server.instanceId)
# self.send_header('X-Robots-Tag', self.send_header('X-Robots-Tag',
# 'noindex, nofollow, noarchive, nosnippet') 'noindex, nofollow, noarchive, nosnippet')
self.send_header('X-Clacks-Overhead', 'GNU Natalie Nguyen') self.send_header('X-Clacks-Overhead', 'GNU Natalie Nguyen')
# 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')
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: