Re: [whatwg/fetch] Image Accept: headers in the spec prevent conneg (#877)

_Just a note for others who may land here in the future:_

If you’re here due to being puzzled by the seemingly “hard-coded” per-destination `accept` header values, and perhaps have remained puzzled even after following the link to the duplicate (which acknowledges the confusion, but may not immediately dispel it): the key “ohhhh” thing you (and me until, a moment ago) are likely missing is one thread link deeper, [here](https://github.com/whatwg/fetch/issues/43#issuecomment-98959907):

> Well, it already says "should" so user agents have some leeway [...]

In other words, because the verb is “should,” Fetch isn’t really preventing agents from setting other values (or none) and agents that currently send other values (which I think is all of em, in practice?) are compliant.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/877#issuecomment-1722379997
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/issues/877/1722379997@github.com>

Received on Sunday, 17 September 2023 03:23:40 UTC