From 4e9d228a606184b30ac440eba5988715da8a1978 Mon Sep 17 00:00:00 2001 From: Fran Boon Date: Fri, 8 Nov 2013 10:46:47 +0000 Subject: [PATCH] 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 --- gluon/http.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gluon/http.py b/gluon/http.py index 3c71f242..0317b9ab 100644 --- a/gluon/http.py +++ b/gluon/http.py @@ -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 ]+$')