Re: [whatwg/fetch] Modify httpRequest’s header list per HTTP. (#1285)

Step 18 reads as follows:

> Modify httpRequest’s header list per HTTP. Do not append a given header if httpRequest’s header list contains that header’s name.
>
> Note: It would be great if we could make this more normative somehow. At this point headers such as `Accept-Encoding`, `Connection`, `DNT`, and `Host`, are to be appended if necessary.
>
> `Accept`, `Accept-Charset`, and `Accept-Language` must not be included at this point.
>
> Note: `Accept` and `Accept-Language` are already included (unless fetch() is used, which does not include the latter by default), and `Accept-Charset` is a waste of bytes. See HTTP header layer division for more details.


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

Received on Tuesday, 10 August 2021 14:52:21 UTC