coil-kt / coil

Image loading for Android and Compose Multiplatform.

Home Page:https://coil-kt.github.io/coil/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error getting images when header content-type doesn't match with real image type

afalabarce opened this issue · comments

Hello,
I have seen that AsyncImage is unable to get an image whose Content-Type does not match the actual type of the image. For example, if we get from the api https://docs.magicthegathering.io/

an image, for example,
https://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=132127&type=card

gives an error and does not load anything. this is because the Content-type says it's image/jpeg, but it's actually a png

This si a problem with ssl sorry