We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1982c20 + b6116c1 commit da49f73Copy full SHA for da49f73
flask/app.py
@@ -968,11 +968,6 @@ def index():
968
# Add the required methods now.
969
methods |= required_methods
970
971
- # due to a werkzeug bug we need to make sure that the defaults are
972
- # None if they are an empty dictionary. This should not be necessary
973
- # with Werkzeug 0.7
974
- options['defaults'] = options.get('defaults') or None
975
-
976
rule = self.url_rule_class(rule, methods=methods, **options)
977
rule.provide_automatic_options = provide_automatic_options
978
0 commit comments