forked from indymedia/epicyon
http busy code
parent
51e7454a3c
commit
1c2db15263
|
@ -92,7 +92,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
def do_GET(self):
|
||||
try:
|
||||
if self.GETbusy:
|
||||
self.send_response(400)
|
||||
self.send_response(429)
|
||||
self.end_headers()
|
||||
return
|
||||
except:
|
||||
|
@ -150,7 +150,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
def do_POST(self):
|
||||
try:
|
||||
if self.POSTbusy:
|
||||
self.send_response(400)
|
||||
self.send_response(429)
|
||||
self.end_headers()
|
||||
return
|
||||
except:
|
||||
|
|
Loading…
Reference in New Issue