mirror of https://github.com/mitsuhiko/flask.git
Browse Source
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.pull/2484/merge
Henry Chladil
7 years ago
committed by
Adrian
1 changed files with 4 additions and 0 deletions
Loading…
Reference in new issue