Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

glawrie

macrumors member
Original poster
Oct 31, 2005
56
5
Maidenhead, UK
Noticed today that Apple's Safari 15.3 browser does not report on its ability to render webp images via the HTTP_ACCEPT header.

Currently pretty much the only way for server side testing for webp support is to poll the HTTP_ACCEPT header and look to see if it mentions webp support: this much is acknowledged by Google - it is the only pure server side solution mentioned in its developer notes on webp.

Here is an HTTP_ACCEPT header from Firefox Developer 98 on macOS ...
"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"

Here is one from Opera 84
"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"

Here is one from Edge 98
"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"

And here is what you get from Safari 15.3...
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"

I mean really... would it be so hard for Apple to report image handling like the others do? Especially since it is mostly to avoid Apple browsers that don't support Webp that servers need to check for support ...

Sometimes Apple make it really hard to be supportive...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.