def __init__(self, response, body=None):
        message = '%s while retrieving %s' % (response.status_code, response.url)
        super(HTTPError, self).__init__(message)
        self.response = response
        self.body = body or self.response.text
dataset/ETHPy150Open jamesturk/scrapelib/scrapelib/__init__.py/HTTPError.__init__/original