HTTP Accept Header does not include WebP/AVIF etc.
Categories
(Firefox :: Untriaged, defect)
Tracking
()
People
(Reporter: EpicTux123, Unassigned)
References
(Regression)
Details
(Keywords: regression)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0
Steps to reproduce:
Using https://httpbin.org/get and/or https://browserleaks.com/ip ("HTTP Headers" section) reveals that my Accept header is:
text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Even though https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation/List_of_default_Accept_values specifies that the default should be:
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,/;q=0.8
I have checked for related prefs that could alter this result (prefs with "http", "webp" and "accept" in their names), but I use the default values (they are not modified). I also tested with Troubleshoot Mode (add-ons and customizations disabled) and the HTTP Accept Header is still the same.
Updated•2 months ago
|
Comment 2•2 months ago
|
||
you can set the pref network.http.accept_include_images to true if you need images in the accept header.
Comment 3•17 days ago
|
||
This bug isn't a duplicate of bug 1917177 - it's a regression. I'm changing the status to wontfix to reflect the "works as intended" status.
Though the point about https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation/List_of_default_Accept_values not having been updated still stands.
Comment 4•16 days ago
|
||
(In reply to Markus Stange [:mstange] from comment #3)
Though the point about https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation/List_of_default_Accept_values not having been updated still stands.
This was fixed in https://github.com/mdn/content/pull/37836 , see bug 1917177 comment 11.
Description
•