text: Title: PROVIDE_AUTOMATIC_OPTIONS causes KeyError if not set
  Body: https://github.com/pallets/flask/blob/bc098406af9537aacc436cb2ea777fbc9ff4c5aa/src/flask/sansio/app.py#L641C12-L641C86
  
  Simply changing this to : `self.config.get("PROVIDE_AUTOMATIC_OPTIONS", False)` should resolve the problem.
  
  This change now released is causing upstream trouble in other packages such as Quart:
  https://github.com/pallets/quart/issues/371
  
  