before_handler
on middlewares not called for OPTIONS
requests
#967
Labels
question
Issue can be closed by providing information
before_handler
seems to not be invoked duringOPTIONS
requests.We're upgrading from an very old version of crow (>6 years old) which was before CORSHandler came into existence, so we had to handle CORS headers ourselves. We did this by adding these headers in the
before_handler
, which is not effective after the upgrade.I'm reading crow's code, but haven't been able to find out what caused this behavior. Is this the intended behavior?
Thank you.
The text was updated successfully, but these errors were encountered: