I removed the `else` clause because the `require_http_methods` decorator should handle it: the if/else code branches handle every possible method among the allowed methods. Check the full file instead of Github's diff to get a better idea of what's going on.