Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion flask/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ def index():
'provide_automatic_options', None)

if provide_automatic_options is None:
if 'OPTIONS' not in methods:
if 'options' not in [m.lower() for m in methods]:
provide_automatic_options = True
required_methods.add('OPTIONS')
else:
Expand Down