Include host in permissive header

main
Bob Mottram 2021-08-11 18:50:52 +01:00
parent 3c56702e1e
commit 14e3b077d9
1 changed files with 1 additions and 1 deletions

View File

@ -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')