Replies: 1 comment 5 replies
-
this is indeed really weird and it has also been reported in encode/starlette#1309 |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Oddly enough I am having some CORS issues with titiler.
I have deployed titiler behind nginx at a specific prefix, and I am constantly getting CORS errors. I managed to tract down the problem to duplicated
access-control-allow-origin: *
header.Strangely, the preflight request is absolutely fine
I tried to set the CORS through .env, directly in settings...but I am not able to track down why ad where is this header added twice.
I suspect this being and issue of starlette and possibly uvicorn because imho UVICORN SHOULD NOT allow duplicate headers to flow.
Any hints are more than welcome.
Beta Was this translation helpful? Give feedback.
All reactions