-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Revert "Only construct the allowed_methods
set
once for a StaticResource
"
#9972
Conversation
…Resource…" This reverts commit 4441d3c.
CodSpeed Performance ReportMerging #9972 will not alter performanceComparing Summary
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #9972 +/- ##
==========================================
- Coverage 98.73% 98.73% -0.01%
==========================================
Files 121 121
Lines 36715 36714 -1
Branches 4383 4383
==========================================
- Hits 36249 36248 -1
Misses 314 314
Partials 152 152
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Backport to 3.11: 💚 backport PR created✅ Backport PR branch: Backported as #9973 🤖 @patchback |
Backport to 3.12: 💚 backport PR created✅ Backport PR branch: Backported as #9974 🤖 @patchback |
…d_methods` `set` once for a `StaticResource`" (#9973) Co-authored-by: J. Nick Koston <[email protected]>
…d_methods` `set` once for a `StaticResource`" (#9974) Co-authored-by: J. Nick Koston <[email protected]>
We could just update that library? |
Created an issue for that aio-libs/aiohttp-cors#483 |
Reverts #9911
aiohttp-cors
accesses the protectedself._routes
here and relies on being able to add new methodshttps://github.com/aio-libs/aiohttp-cors/blob/38c6c17bffc805e46baccd7be1b4fd8c69d95dc3/aiohttp_cors/urldispatcher_router_adapter.py#L187