]> git.ipfire.org Git - thirdparty/tornado.git/commit
web: Type SUPPORTED_METHODS so it can be overridden
authorBen Darnell <ben@bendarnell.com>
Fri, 7 Jun 2024 18:51:34 +0000 (14:51 -0400)
committerBen Darnell <ben@bendarnell.com>
Fri, 7 Jun 2024 18:53:25 +0000 (14:53 -0400)
commit70dc6f73fb9b130e9e548b62b3ff9ff2a8a9e870
treeae838839385bfc08155c13f95ad6ecfc8c2e3bf4
parente7dff512f8329dfc92590f144abbeaff55fce6ad
web: Type SUPPORTED_METHODS so it can be overridden

Its default type is `Tuple[str, str, str, str, str, str, str]`, which
can only be overridden by a tuple of the exact same length.

This change originated in #3354 (thanks alexmv and andersk).

Closes #3354
tornado/web.py