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

Remove auto_cors functionality #7

Merged
merged 4 commits into from
Aug 9, 2014
Merged

Remove auto_cors functionality #7

merged 4 commits into from
Aug 9, 2014

Conversation

kballenegger
Copy link
Owner

@nicotaing @rtjoseph11 @bgoldman @PikaDotus

Hey guys,

So I'm kind of torn on this. I just ran into an issue where this CORS implementation ran into some trouble, and on second thought, I'm not sure if this even belongs in Kenji in the first place. So instead of patching it to support PATCH; I figured I'd just remove it and recommend using Rack::Cors instead.

Thoughts?

-Kenneth

@bgoldman
Copy link

What issue are you having with your CORS implementation?

@kballenegger
Copy link
Owner Author

The hardcoded response did not explicitly whitelist the PATCH method.

@kballenegger kballenegger merged commit 236d19d into master Aug 9, 2014
@kballenegger kballenegger deleted the remove-auto-cors branch August 9, 2014 03:21
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.

2 participants