'Return status line in format appropriate for WSGI `start_response`'

def wsgi_status(self):

    if isinstance(self.status, int):
        exception = httpexceptions.get_exception(self.status)
        return ('%d    %s' % (exception.code, exception.title))
    else:
        return self.status
