eldk edited a comment on issue #1857: firefox 65 png and gif files do not convert to webp, though jpg does. URL: https://github.com/apache/incubator-pagespeed-mod/issues/1857#issuecomment-480599291 Hello, >With Firefox 66.0.2 none of the images get converted to webp, despite the browser send image/webp header The main changes are in default accept header value: - about:config network.http.accept.default seems to have been removed from default Firefox conf - default accept header have been changed from : `text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8` in Firefox 65 -a- to `text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8` in Firefox 66 -b-. Therefore, in html embedded pictures are served as jpeg. ``` - a - curl 'https://www.domain.tld/' -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' ``` ``` - b - curl 'https://www.domain.tld/' -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' ``` cf : https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation/List_of_default_Accept_values A bug has been filled at https://bugzilla.mozilla.org/show_bug.cgi?id=1417463 Thanks, Eric Related to this : - https://developer.mozilla.org/fr/docs/Mozilla/Firefox/Releases/66#Networking - https://bugzilla.mozilla.org/show_bug.cgi?id=1417463 - https://bugzilla.mozilla.org/show_bug.cgi?id=1532223 - https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation/List_of_default_Accept_values - https://github.com/apache/incubator-pagespeed-mod/issues/978 - https://github.com/apache/incubator-pagespeed-mod/blob/b4bf44cc56d8bbf17494c540dfb6ef20dfcf5073/pagespeed/kernel/http/user_agent_matcher.cc#L120
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services