Provide a configuration option to control automatic option responses

By default Flask will provide responses to OPTIONS requests that are
automatically generated. These responses list the valid methods in the
response headers. Whilst this is useful, it can be frowned on by
auditors hence an ability to disable it wholesale is useful.
This commit is contained in:
pgjones 2024-06-05 13:23:18 +01:00 committed by Phil Jones
parent 0ce27278d2
commit d718ecf6d3
4 changed files with 14 additions and 2 deletions

View file

@ -1,7 +1,8 @@
Version 3.1.0
-------------
Unreleased
- Provide a configuration option to control automatic option
responses. :pr:`5496`
Version 3.0.3