108
113
self._raise_curl_http_error(curl)
110
115
def _get(self, relpath, ranges, tail_amount=0):
111
116
# This just switches based on the type of request
112
117
if ranges is not None or tail_amount not in (0, None):
113
118
return self._get_ranged(relpath, ranges, tail_amount=tail_amount)
115
120
return self._get_full(relpath)
117
122
def _setup_get_request(self, curl, relpath):
118
123
"""Do the common setup stuff for making a request