I was trying to use CORSMiddleware according to provided instructions.
But it seems like the cbv is not allowing preflight options request by responding 405method not allowed as I didn't add options method explicitly.
How can I use cors middleware with cbv to allow cors for any request?
I was trying to use CORSMiddleware according to provided instructions. But it seems like the cbv is not allowing preflight options request by responding
405
method not allowed
as I didn't add options method explicitly.How can I use cors middleware with cbv to allow cors for any request?