diff --git a/tests/test_main.py b/tests/test_main.py index e968502..82c9788 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -459,7 +459,7 @@ b"", ), ), - # Unknown methods are replaced with GET, and can override. + # Unknown methods are replaced with GET. ( "https://example.com", b"""
""", @@ -482,6 +482,9 @@ b"", ), ), + # If an unknown method is defined in a submit button and the parent + # form has a valid method, the submit button method (GET) still takes + # precedence. ( "https://example.com", b"""""", @@ -493,7 +496,7 @@ b"", ), ), - # Users can override the method value, to workaround scenarios where + # Users can override the method value, to work around scenarios where # HTML forms have an unsupported method but a supported one is set # through JavaScript. (