Skip to content
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

chore(middleware-sdk-s3): add string fallback for S3#Expires field #5715

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Jan 23, 2024

Issue

n/a

Description

Modifies S3 operation responses that contain the Expires timestamp. In cases where this value is not a well-formatted Rfc7231DateTime, the operation will now complete with a fallback behavior and warning instead of throwing an exception.

The string value of the Expires field will be placed in an adjacent field called ExpiresString. This currently applies to the GetObject and HeadObject responses.

Testing

added unit and e2e tests

Checklist

  • If you wrote E2E tests, are they resilient to concurrent I/O?

@kuhe kuhe merged commit e500830 into aws:main Jan 24, 2024
3 checks passed
@kuhe kuhe deleted the s3/expires branch January 24, 2024 15:05
Copy link

github-actions bot commented Feb 8, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants