mirror of https://gitlab.com/bashrc2/epicyon
cookie
parent
447125fbdc
commit
354ba728f5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue