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!
Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.
Diesen Eintrag bewerten oder zu einer Liste hinzufügen?
Kein Mitglied?
Antwort von Travis Bell
am 10. Dezember 2024 um 10:48
Hi @rhyswilliamsza,
I'm not seeing any difference with those two images:
And:
Can you show me the request and response you're making?
Antwort von rhyswilliamsza
am 10. Dezember 2024 um 11:02
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: