'This exception as a WSGI application'

def wsgi_application(self, environ, start_response, exc_info=None):

    (headers, content) = self.prepare_content(environ)
    start_response(('%s    %s' % (self.code, self.title)), headers, exc_info)
    return [content]
