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

Koa rewrite #391

Merged
merged 4 commits into from
Mar 3, 2019
Merged

Koa rewrite #391

merged 4 commits into from
Mar 3, 2019

Conversation

kherock
Copy link
Collaborator

@kherock kherock commented Feb 13, 2019

In particular, this focuses on

  • improved error handling and error formatting
  • making S3 features more modular
  • significantly more accurate static website behavior
  • simplify implementing new features in the future

This also fixes support for Node.js 10+

@kherock
Copy link
Collaborator Author

kherock commented Feb 13, 2019

@leontastic review at your own peril, I know this is a lot. I'm hoping you'll like the approach I've taken. The only additional tests this should need are website redirects (redirecting /some/key to /some/key/ with a 302 when /some/key/index.html exists) and for XML-formatted 404 pages when making requests with the aws sdk.

In particular, this focuses on
* improved error handling and error formatting
* making S3 features more modular
* significantly more accurate static website behavior
* simplify implementing new features in the future
This also corrects error handling to preserve CORS headers and exclude
x-amz-error- headers from HTML responses.
They are undocumented, and the current behavior doesn't match S3
@kherock kherock merged commit 5f02be4 into next Mar 3, 2019
@kherock kherock deleted the koa branch April 18, 2019 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant