fixed issue 974

This commit is contained in:
mdipierro
2012-09-10 07:47:52 -05:00
parent 87a127c42b
commit 1d825fda76
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.0.8 (2012-09-10 07:40:29) stable
Version 2.0.8 (2012-09-10 07:47:49) stable
+1 -1
View File
@@ -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