for some reason Cloudflare sends a wrong content-type for avif images.
example is here: simple[dot]ponyclock[dot]com / test / test.webm.avif
it even tries to open it as a video in the browser.
i know it has “.webm” in it, but i think Cloudflare should only look at the last part and that is “.avif”.
so what i expect
content-type: image/avif
what i get
content-type: video/webm
i’m also not sure, does it also uses wrong cache expire times too?
i basically want it treated by Cloudflare completely like an browser image, not video.
my server is behind Cloudflare, its actually a managed one which is good secured. so i don’t actually understand what you showed me. the first command is a communication with the cf edge server i think, and not with my server behind Cloudflare. and i tested it with a url that is not protected by Cloudflare, which points directly to my server, and on that domain i get the correct content type. so i think this must be on cloudflares part.
It’s clear that your server is behind Cloudflare, but that is not the point. Your server is neither secure nor well managed, simply because it has no SSL setup whatsoever.
As for the content type, as I already explained, that is sent by your server and Cloudflare does not set anything here, however that really is not issue. You have an insecure site and should fix this first.