Add kwarg to disable auto OPTIONS on add_url_rule
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Adds support for a kwarg `provide_automatic_options` on `add_url_rule`, which lets you turn off the automatic OPTIONS response on a per-URL basis even if your view functions are functions, not classes (so you can't provide attrs on them).
authored by Jimmy McCarthy · committed by Jimmy McCarthy · parent db09c67 · Browse files · 2 files+45 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+45 added−2 removed
- tests:+41 added−0 removed
- other:+4 added−2 removed