51
51
"""Set the base path where files will be stored."""
52
52
super(HttpTransport_urllib, self).__init__(base)
54
def _get(self, relpath, ranges, tail_amount=0):
57
57
path = self._real_abspath(relpath)
58
response = self._get_url_impl(path, method='GET', ranges=ranges,
59
60
return response.code, self._handle_response(path, response)
60
61
except urllib2.HTTPError, e:
61
62
mutter('url error code: %s for has url: %r', e.code, path)