diff --git a/VERSION b/VERSION index 285ae916..85ace5fc 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.0.8 (2012-09-10 07:40:29) stable +Version 2.0.8 (2012-09-10 07:47:49) stable diff --git a/gluon/http.py b/gluon/http.py index 50134959..05330a22 100644 --- a/gluon/http.py +++ b/gluon/http.py @@ -88,7 +88,7 @@ class HTTP(BaseException): else: status = str(status) if not regex_status.match(status): - status = "500 UNKNOWN ERROR" + status = '500 %s' % (defined_status[500]) if not 'Content-Type' in headers: headers['Content-Type'] = 'text/html; charset=UTF-8' body = self.body