mirror of https://gitlab.com/bashrc2/epicyon
X prefix
parent
411cc69099
commit
df00ffc736
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue