Set origin

main
Bob Mottram 2021-08-11 16:01:51 +01:00
parent e921710213
commit 26ad5cbd0b
1 changed files with 1 additions and 0 deletions

View File

@ -694,6 +694,7 @@ class PubServer(BaseHTTPRequestHandler):
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')
self.send_header('Cache-Control', 'max-age=0')