main
Bob Mottram 2020-05-25 17:29:27 +01:00
parent 447125fbdc
commit 354ba728f5
1 changed files with 4 additions and 4 deletions

View File

@ -1098,6 +1098,10 @@ class PubServer(BaseHTTPRequestHandler):
if self.server.debug: if self.server.debug:
print(str(self.headers)) print(str(self.headers))
cookie = None
if self.headers.get('Cookie'):
cookie = self.headers['Cookie']
# get fonts # get fonts
if '/fonts/' in self.path: if '/fonts/' in self.path:
fontStr = self.path.split('/fonts/')[1] fontStr = self.path.split('/fonts/')[1]
@ -1141,10 +1145,6 @@ class PubServer(BaseHTTPRequestHandler):
self._404() self._404()
return return
cookie = None
if self.headers.get('Cookie'):
cookie = self.headers['Cookie']
self._benchmarkGETtimings(GETstartTime, GETtimings, 4) self._benchmarkGETtimings(GETstartTime, GETtimings, 4)
# check authorization # check authorization