75
80
path = '%s/%s' % (archive_id, key)
76
81
response = self._method_archive(
77
'POST', path, {}, file_obj.read())
82
'PUT', path, {}, file_obj.read())
79
84
if response.status == httplib.BAD_REQUEST:
81
88
elif response.status == httplib.CREATED: