Hi There
I am experiencing a little bit of a CORS issue with displaying images via TMDB BunnyCDN endpoint.
Image Without CORS Headers: https://image.tmdb.org/t/p/w1280/eN3NJkb8SDiMtjXTfoE6CZDMWpu.jpg Image With CORS Headers: https://image.tmdb.org/t/p/w1280/xOMo8BRK7PfcJv9JCnx7s5hj0PX.jpg
It appears that the Access-Control-Allow-Origin
and Access-Control-Expose-Headers
headers are inconsistently being set. I see that they're returned only when the Origin
header is set, however it appears that they are sometimes not returned, even if Origin
is set.
Just wanted to check whether there is a change ongoing that may be affecting this, or whether I should dig a bit more my side to see if there are any changes in the request payloads that could be triggering this behaviour.
Thank you!
Не можете да откриете филм или сериал? Влезте, за да го създадете.
Искате ли да го оцените или добавите към списък?
Нямате профил?
Отговор от Travis Bell
на 10 декември 2024 в 10:48 AM
Hi @rhyswilliamsza,
I'm not seeing any difference with those two images:
And:
Can you show me the request and response you're making?
Отговор от rhyswilliamsza
на 10 декември 2024 в 11:02 AM
Thanks! I was also struggling to reproduce via CURL but wasn't sure if it was perhaps intermittent. I'm investigating a few chrome behaviours that may be related, and will let you know if I manage to capture the issue coming from the CDN side (main theory is that it's local for now).
Chrome Results using Fetch: