http busy code

master
Bob Mottram 2019-06-29 18:28:43 +01:00
parent 51e7454a3c
commit 1c2db15263
1 changed files with 2 additions and 2 deletions

View File

@ -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: