forked from indymedia/epicyon
method not allowed
parent
503c423a18
commit
8462c65e8f
10
daemon.py
10
daemon.py
|
@ -132,7 +132,11 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if authorize(self.server.baseDir,self.headers['Authorization']):
|
if authorize(self.server.baseDir,self.headers['Authorization']):
|
||||||
# TODO
|
# TODO
|
||||||
print('inbox access not supported yet')
|
print('inbox access not supported yet')
|
||||||
self.send_response(401)
|
self.send_response(405)
|
||||||
|
self.end_headers()
|
||||||
|
self.server.POSTbusy=False
|
||||||
|
return
|
||||||
|
self.send_response(405)
|
||||||
self.end_headers()
|
self.end_headers()
|
||||||
self.server.POSTbusy=False
|
self.server.POSTbusy=False
|
||||||
return
|
return
|
||||||
|
@ -234,11 +238,11 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if authorize(self.server.baseDir,self.headers['Authorization']):
|
if authorize(self.server.baseDir,self.headers['Authorization']):
|
||||||
# TODO
|
# TODO
|
||||||
print('c2s posts not supported yet')
|
print('c2s posts not supported yet')
|
||||||
self.send_response(401)
|
self.send_response(405)
|
||||||
self.end_headers()
|
self.end_headers()
|
||||||
self.server.POSTbusy=False
|
self.server.POSTbusy=False
|
||||||
return
|
return
|
||||||
self.send_response(401)
|
self.send_response(405)
|
||||||
self.end_headers()
|
self.end_headers()
|
||||||
self.server.POSTbusy=False
|
self.server.POSTbusy=False
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue