You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 14, 2021. It is now read-only.
- Actually check that the HTTP response code is an 200 OK so that we
don't return nil if things have actually failed.
- Handle bucket HTTP redirection. When you request an S3 bucket from the
wrong region, it returns a 301 redirect with the correct region in a
header, but no Location header. Because the Chef HTTP client doesn't
recognize redirects unless the Location header is set, Citadel would
previously return nil. Instead, raise an exception indicating the
correct region that should have been passed.
- Also raise an error if we get any unexpected HTTP status.
Fixes: poise#25
See #24
The text was updated successfully, but these errors were encountered: