Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

[Feature] Support for AWS v3 SDK #265

Open
clicktravel-chrishern opened this issue Apr 20, 2023 · 0 comments
Open

[Feature] Support for AWS v3 SDK #265

clicktravel-chrishern opened this issue Apr 20, 2023 · 0 comments

Comments

@clicktravel-chrishern
Copy link

clicktravel-chrishern commented Apr 20, 2023

In V3 of the AWS SDK they have added validation to ensure that the LastModified attribute on an object is RFC-3339 compliant when performing operations such as GetObject or ListObjects.

The current code for setting the last-modified metadata attribute uses toIsoString() on a Javascript date which is not RFC-3339 compliant (the format is Thu, 20 Apr 2023 15:31:00 GMT which is based on RFC-7231).

This means that trying to use fake-S3 with V3 of the AWS SDK fails when trying to read objects with an error of:

TypeError: Invalid RFC-3339 date-time value

Are there any plans to support V3 of the AWS SDK?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant