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!
Can't find a movie or TV show? Login to create it.
Ma doonaysaa inaad qiimayso ama ku darto shaygan liiska?
Ma aha xubin?
Reply by Travis Bell
on December 10, 2024 at 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?
Reply by rhyswilliamsza
on December 10, 2024 at 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: