main
Bob Mottram 2021-09-26 21:04:08 +01:00
parent 411cc69099
commit df00ffc736
1 changed files with 4 additions and 4 deletions

View File

@ -707,7 +707,7 @@ class PubServer(BaseHTTPRequestHandler):
self.send_header('Set-Cookie', 'epicyon=; SameSite=Strict') self.send_header('Set-Cookie', 'epicyon=; SameSite=Strict')
self.send_header('Location', self._quoted_redirect(redirect)) self.send_header('Location', self._quoted_redirect(redirect))
self.send_header('Host', callingDomain) self.send_header('Host', callingDomain)
self.send_header('APInstanceID', self.server.instanceId) self.send_header('X-APInstanceID', self.server.instanceId)
self.send_header('Content-Length', '0') self.send_header('Content-Length', '0')
self.end_headers() self.end_headers()
@ -725,8 +725,8 @@ class PubServer(BaseHTTPRequestHandler):
else: else:
self.send_header('Cache-Control', 'public') self.send_header('Cache-Control', 'public')
self.send_header('Origin', self.server.domainFull) self.send_header('Origin', self.server.domainFull)
# self.send_header('APInstanceID', self.server.instanceId) self.send_header('X-APInstanceID', self.server.instanceId)
# self.send_header('X-Clacks-Overhead', 'GNU Natalie Nguyen') self.send_header('X-Clacks-Overhead', 'GNU Natalie Nguyen')
if length > -1: if length > -1:
self.send_header('Content-Length', str(length)) self.send_header('Content-Length', str(length))
if callingDomain: if callingDomain:
@ -835,7 +835,7 @@ class PubServer(BaseHTTPRequestHandler):
self.send_header('Set-Cookie', cookieStr) self.send_header('Set-Cookie', cookieStr)
self.send_header('Location', self._quoted_redirect(redirect)) self.send_header('Location', self._quoted_redirect(redirect))
self.send_header('Host', callingDomain) self.send_header('Host', callingDomain)
self.send_header('APInstanceID', self.server.instanceId) self.send_header('X-APInstanceID', self.server.instanceId)
self.send_header('Content-Length', '0') self.send_header('Content-Length', '0')
self.end_headers() self.end_headers()