Went looking for http-accept syntax trying to fix this shit and you know what? This is the example Mozilla themselves give in their docs — prefer WebP over everything else: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept
Here:
// Multiple types, weighted with the quality value syntax:
Accept: text/html, application/xhtml+xml, application/xml;q=0.9, image/webp, */*;q=0.8
Why the fsck they suck up to Google so much and why do independent developers support this Google abomination? 😩