mirror of https://gitlab.com/bashrc2/epicyon
Include host in permissive header
parent
3c56702e1e
commit
14e3b077d9
|
@ -686,6 +686,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.send_header('Content-type', fileFormat)
|
||||
if length > -1:
|
||||
self.send_header('Content-Length', str(length))
|
||||
self.send_header('Host', callingDomain)
|
||||
if permissive:
|
||||
return
|
||||
if cookie:
|
||||
|
@ -695,7 +696,6 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
cookieStr += '; Secure'
|
||||
cookieStr += '; HttpOnly; SameSite=Strict'
|
||||
self.send_header('Cookie', cookieStr)
|
||||
self.send_header('Host', callingDomain)
|
||||
self.send_header('Origin', self.server.domainFull)
|
||||
self.send_header('InstanceID', self.server.instanceId)
|
||||
self.send_header('X-Clacks-Overhead', 'GNU Natalie Nguyen')
|
||||
|
|
Loading…
Reference in New Issue