forked from indymedia/epicyon
unathorized code
parent
86aaff3c84
commit
407f3e702b
|
@ -215,16 +215,16 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.POSTbusy=False
|
self.server.POSTbusy=False
|
||||||
return
|
return
|
||||||
|
|
||||||
# TODO
|
|
||||||
if self.path=='/outbox':
|
if self.path=='/outbox':
|
||||||
if self.headers.get('Authorization'):
|
if self.headers.get('Authorization'):
|
||||||
if authorize(self.server.baseDir,self.headers['Authorization']):
|
if authorize(self.server.baseDir,self.headers['Authorization']):
|
||||||
|
# TODO
|
||||||
print('c2s posts not supported yet')
|
print('c2s posts not supported yet')
|
||||||
self.send_response(400)
|
self.send_response(401)
|
||||||
self.end_headers()
|
self.end_headers()
|
||||||
self.server.POSTbusy=False
|
self.server.POSTbusy=False
|
||||||
return
|
return
|
||||||
self.send_response(400)
|
self.send_response(401)
|
||||||
self.end_headers()
|
self.end_headers()
|
||||||
self.server.POSTbusy=False
|
self.server.POSTbusy=False
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue