54
54
# so nothing to do with from_transport
56
56
def _get(self, relpath, ranges, tail_amount=0):
57
return self._request(relpath, 'GET', ranges, tail_amount=tail_amount)
59
def _request(self, relpath, method, ranges, tail_amount=0, body=None):
59
62
path = self._real_abspath(relpath)
60
resp = self._get_url_impl(path, method='GET', ranges=ranges,
63
resp = self._get_url_impl(path, method=method, ranges=ranges,
62
65
return resp.code, response.handle_response(path,
63
66
resp.code, resp.headers, resp)
64
67
except urllib2.HTTPError, e: