-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
s3 expires implementation #3232
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## develop #3232 +/- ##
===========================================
+ Coverage 93.12% 93.17% +0.05%
===========================================
Files 66 66
Lines 14252 14331 +79
===========================================
+ Hits 13272 13353 +81
+ Misses 980 978 -2 ☔ View full report in Codecov by Sentry. |
8137d13
to
dff343c
Compare
dff343c
to
567c109
Compare
Co-authored-by: Nate Prewitt <nate.prewitt@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Co-authored-by: Nate Prewitt <nate.prewitt@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
received approvals from @SamRemis and @jonathan343
* implementation to gracefully handle invalid timestamps returned in the Expires header
This PR customizes the S3
Expires
shape in preparation for model changes. Instead of throwing an error, operations will now complete with fallback behavior and a warning.Expires
header remains a timestamp for backwards compatibility.Expires
key in the response if parsing fails and logs a warning.Operations with
Expires
in their output shapes will:ExpiresString
to retain the raw value ofExpires
.Expires
and encourage users to use the new fieldExpiresString
through documentation.