Add additional information in the url_rule docs (#2467)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
If a user is making use of the errorhandler(405) decorator, and they wish to include an Allow header (as per HTTP spec), they may be confused to find that url_rule is None. This doc change aims to clarify that because the request was never successfully matched, it was never bound to a URL rule and to access the valid methods, they must examine routing_exception.
authored by Henry Chladil · committed by Adrian · parent 7e4e6ec · Browse files · 1 file+4 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+4 added−0 removed
- other:+4 added−0 removed