forked from indymedia/epicyon
Tidying
parent
df3531d0b1
commit
e72bf84d8b
|
@ -908,11 +908,10 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
|
|
||||||
# check authorization
|
# check authorization
|
||||||
authorized = self._isAuthorized()
|
authorized = self._isAuthorized()
|
||||||
if authorized:
|
|
||||||
if self.server.debug:
|
if self.server.debug:
|
||||||
|
if authorized:
|
||||||
print('GET Authorization granted')
|
print('GET Authorization granted')
|
||||||
else:
|
else:
|
||||||
if self.server.debug:
|
|
||||||
print('GET Not authorized')
|
print('GET Not authorized')
|
||||||
|
|
||||||
self._benchmarkGETtimings(GETstartTime,GETtimings,5)
|
self._benchmarkGETtimings(GETstartTime,GETtimings,5)
|
||||||
|
@ -3874,11 +3873,10 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
|
|
||||||
# check authorization
|
# check authorization
|
||||||
authorized = self._isAuthorized()
|
authorized = self._isAuthorized()
|
||||||
if authorized:
|
|
||||||
if self.server.debug:
|
if self.server.debug:
|
||||||
|
if authorized:
|
||||||
print('POST Authorization granted')
|
print('POST Authorization granted')
|
||||||
else:
|
else:
|
||||||
if self.server.debug:
|
|
||||||
print('POST Not authorized')
|
print('POST Not authorized')
|
||||||
print(str(self.headers))
|
print(str(self.headers))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue