fixed issue 974
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user