-
-
Notifications
You must be signed in to change notification settings - Fork 950
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
feat(CORS): improve cors middleware #2326
Conversation
The static resource will now properly supports CORS requests. Fixes: falconry#2325
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2326 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 63 63
Lines 7593 7604 +11
Branches 1282 1285 +3
=========================================
+ Hits 7593 7604 +11 ☔ View full report in Codecov by Sentry. |
should be ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
The main issue I can see is that it would not allow HEAD
for static routes, but I see now that we have no proper HEAD
support anyway. I will file another issue.
Fixes: #2325
This is a follow up of #2304