191
195
# handle_response will raise NoSuchFile, etc based on the response code
192
196
return code, response.handle_response(abspath, code, headers, data)
207
abspath, data, header = self._setup_request(curl, '.bzr/smart')
212
return code, response.handle_response(abspath, code, headers, data)
194
214
def _raise_curl_http_error(self, curl, info=None):
195
215
code = curl.getinfo(pycurl.HTTP_CODE)
196
216
url = curl.getinfo(pycurl.EFFECTIVE_URL)