forked from indymedia/epicyon
cookie
parent
447125fbdc
commit
354ba728f5
|
@ -1098,6 +1098,10 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
if self.server.debug:
|
||||
print(str(self.headers))
|
||||
|
||||
cookie = None
|
||||
if self.headers.get('Cookie'):
|
||||
cookie = self.headers['Cookie']
|
||||
|
||||
# get fonts
|
||||
if '/fonts/' in self.path:
|
||||
fontStr = self.path.split('/fonts/')[1]
|
||||
|
@ -1141,10 +1145,6 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self._404()
|
||||
return
|
||||
|
||||
cookie = None
|
||||
if self.headers.get('Cookie'):
|
||||
cookie = self.headers['Cookie']
|
||||
|
||||
self._benchmarkGETtimings(GETstartTime, GETtimings, 4)
|
||||
|
||||
# check authorization
|
||||
|
|
Loading…
Reference in New Issue