Closed Bug 1939157 Opened 2 months ago Closed 2 months ago

HTTP Accept Header does not include WebP/AVIF etc.

Categories

(Firefox :: Untriaged, defect)

Firefox 133
defect

Tracking

()

RESOLVED WONTFIX

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.

Status: UNCONFIRMED → RESOLVED
Closed: 2 months ago
Duplicate of bug: 1917177
Resolution: --- → DUPLICATE

you can set the pref network.http.accept_include_images to true if you need images in the accept header.

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.

No longer duplicate of bug: 1917177
Keywords: regression
Regressed by: 1917177
Resolution: DUPLICATE → WONTFIX

(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.

You need to log in before you can comment on or make changes to this bug.