'Restore an object from an archive.
:type days: int
:param days: The lifetime of the restored object (must
be at least 1 day).  If the object is already restored
then this parameter can be used to readjust the lifetime
of the restored object.  In this case, the days
param is with respect to the initial time of the request.
If the object has not been restored, this param is with
respect to the completion time of the request.'

def restore(self, days, headers=None):

    response = self.bucket.connection.make_request('POST', self.bucket.name, self.name, data=(self.RestoreBody % days), headers=headers, query_args='restore')
    if (response.status not in (200, 202)):
        provider = self.bucket.connection.provider
        raise provider.storage_response_error(response.status, response.reason, response.read())
