179
179
# handle_response will raise NoSuchFile, etc based on the response code
180
180
return code, response.handle_response(abspath, code, headers, data)
188
182
def _raise_curl_http_error(self, curl, info=None):
189
183
code = curl.getinfo(pycurl.HTTP_CODE)
190
184
url = curl.getinfo(pycurl.EFFECTIVE_URL)