Support HTTP Status 509

Whilst this isn't an official RFC, it's documented on e.g. Wikipedia. http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#5xx_Server_Error
This commit is contained in:
Fran Boon
2013-11-08 10:46:47 +00:00
parent db0d31260e
commit 4e9d228a60
+1
View File
@@ -52,6 +52,7 @@ defined_status = {
503: 'SERVICE UNAVAILABLE',
504: 'GATEWAY TIMEOUT',
505: 'HTTP VERSION NOT SUPPORTED',
509: 'BANDWIDTH LIMIT EXCEEDED',
}
regex_status = re.compile('^\d{3} [0-9A-Z ]+$')