From add6fa526ec75dfecf367d3a49463d8d3c86eecb Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sun, 6 Oct 2013 11:52:23 -0500 Subject: [PATCH] fixed regex status in http.py --- VERSION | 2 +- gluon/http.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 7807b57d..fbde96e7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.7.1-stable+timestamp.2013.10.06.10.07.46 +Version 2.7.1-stable+timestamp.2013.10.06.11.51.31 diff --git a/gluon/http.py b/gluon/http.py index 49e900cc..3c71f242 100644 --- a/gluon/http.py +++ b/gluon/http.py @@ -54,8 +54,7 @@ defined_status = { 505: 'HTTP VERSION NOT SUPPORTED', } -regex_status = re.compile('^\d{3} \w+$') - +regex_status = re.compile('^\d{3} [0-9A-Z ]+$') class HTTP(Exception):