diff options
Diffstat (limited to 'paste/httpexceptions.py')
| -rw-r--r-- | paste/httpexceptions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/paste/httpexceptions.py b/paste/httpexceptions.py index 3477c03..af0b7ea 100644 --- a/paste/httpexceptions.py +++ b/paste/httpexceptions.py @@ -214,10 +214,11 @@ class HTTPException(Exception): if isinstance(content, unicode): content = content.encode('utf8') headers['content_type'] += '; charset=utf8' + print "all good", environ, start_response start_response('%s %s' % (self.code, self.title), headers.items(), exc_info) - yield content + return [content] def __repr__(self): |
