'Begin a HTTP 500 response and return the text of a message.'

def error(self, message):

    self._cache_headers = []
    logger.error('Error:    %s', message)
    self.respond(HTTP_ERROR, 'text/plain')
    return message.encode('ascii')
