Skip to content

Add DELETE and HEAD methods for CORS and CORS headers for all responses#565

Merged
gaul merged 4 commits intogaul:masterfrom
jixinchi:master
Oct 18, 2023
Merged

Add DELETE and HEAD methods for CORS and CORS headers for all responses#565
gaul merged 4 commits intogaul:masterfrom
jixinchi:master

Conversation

@jixinchi
Copy link
Contributor

  1. I found that DELETE method is not supported for CORS, which should be included. Refer to: aws CORS config

  2. Currently, not all handle methods include "addCorsResponseHeader". I add it in all handle methods, because in most cases, the browser needs it.

@gaul
Copy link
Owner

gaul commented Oct 13, 2023

@reimannf could you look at this?

@reimannf
Copy link
Contributor

LGTM. Only one nitpick to update the README here: https://github.com/gaul/s3proxy/blob/master/README.md?plain=1#L148

@jixinchi
Copy link
Contributor Author

Thanks! I have updated the README.

@gaul gaul changed the title add DELETE method for CORS and CORS headers for all response Add DELETE and HEAD methods for CORS and CORS headers for all responses Oct 18, 2023
@gaul gaul merged commit 60f8366 into gaul:master Oct 18, 2023
@gaul
Copy link
Owner

gaul commented Oct 18, 2023

Thank you for your contribution @jixinchi!

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.

3 participants