OVH operates a slightly derived version of the Swift API for its Cloud Archive product.
Objects are not directly available, the first request triggers the object unsealing, and until it is unsealed, OVH will return a status 429 with a Retry-After header which indicates when the object will be available. https://docs.ovh.com/gb/en/storage/pca/api/#get-object
I have two changes to propose:
Treat 429 as an objectError, known in objectErrorMap, so it can be compared
Always return the headers, even when the status is not part of objectErrorMap
Hello,
Thank you for your work on this library.
OVH operates a slightly derived version of the Swift API for its Cloud Archive product.
Objects are not directly available, the first request triggers the object unsealing, and until it is unsealed, OVH will return a status 429 with a Retry-After header which indicates when the object will be available. https://docs.ovh.com/gb/en/storage/pca/api/#get-object
I have two changes to propose:
I have prepared the changes https://github.com/ncw/swift/compare/master...jeremy-clerc:handle_ovh_unfreeze?expand=1, if you think it is a good idea, I will create the pull request.
Thanks