Skip to content

Conversation

@davidism
Copy link
Member

Merge master into #1489 and do some cleanup.

Jimmy McCarthy and others added 6 commits July 7, 2015 13:20
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).
In add_url_rule, break provide_automatic_options out to an explicit kwarg, and
add notes to the docstring.
move test next to existing test, rename
reword / reflow param doc
@untitaker
Copy link
Contributor

untitaker commented Apr 21, 2017 via email

@davidism
Copy link
Member Author

Yeah, I found that a little weird too, but this doesn't seem to hurt anything.

@untitaker
Copy link
Contributor

untitaker commented Apr 21, 2017 via email

@davidism
Copy link
Member Author

The original issue #1488 explains a little more: they're registering more routes by endpoint name, without providing the view function each time. So they can't set the attribute because there's nothing to set it on.

@untitaker
Copy link
Contributor

untitaker commented Apr 21, 2017 via email

@davidism
Copy link
Member Author

I'll open an issue separate from this.

@davidism davidism merged commit 9569e8c into pallets:master Apr 21, 2017
@davidism davidism deleted the provide-automatic-options branch April 21, 2017 15:34
@davidism davidism modified the milestone: 1.0 Jul 31, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants