@mmwbadmin
The Accept header has to be sent as the default Accept header for the site – meaning the HTML document.
The header sent in Firefox 68.0.1:
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
It’s correct that for images the Accept header Accept: image/webp,*/*
is sent, but the logic whether images should be linked via webp or not happens within the HTML.
In Google Chrome for example, the Accept header that is sent for the HTML document (the default Accept header) is Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
.
As per the documentation here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation/List_of_default_Accept_values#Default_values
As you can see, they have a “Before”, “in Firefox 65” and “since Firefox 66” – and the issue lies in the removed image/webp
since v66.