179
183
# handle_response will raise NoSuchFile, etc based on the response code
180
184
return code, response.handle_response(abspath, code, headers, data)
195
abspath, data, header = self._setup_request(curl, '.bzr/smart')
200
return code, response.handle_response(abspath, code, headers, data)
182
202
def _raise_curl_http_error(self, curl, info=None):
183
203
code = curl.getinfo(pycurl.HTTP_CODE)
184
204
url = curl.getinfo(pycurl.EFFECTIVE_URL)