Skip to content

Commit f342c74

Browse files
jakearchibaldannevk
authored andcommitted
Additional reasoning for sending Accept-Encoding: identity
1 parent 2f3d04d commit f342c74

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

fetch.bs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3657,8 +3657,14 @@ Range Requests</cite>. [[HTTP-RANGE]] However, this is not widely supported by b
36573657
`<code>Accept-Encoding</code>`/`<code>identity</code>` to <var>httpRequest</var>'s
36583658
<a for=request>header list</a>.
36593659

3660-
<p class="note no-backref"><a href="https://jakearchibald.github.io/accept-encoding-range-test/">Many servers</a>
3661-
mistakenly ignore `<code>Range</code>` headers if a non-identity encoding is accepted.
3660+
<div class="note no-backref">
3661+
<p>This avoids a failure when <a lt="handle content codings">handling content codings</a> with
3662+
a part of an encoded <a for=/>response</a>.
3663+
3664+
<p>Additionally,
3665+
<a href="https://jakearchibald.github.io/accept-encoding-range-test/">many servers</a>
3666+
mistakenly ignore `<code>Range</code>` headers if a non-identity encoding is accepted.
3667+
</div>
36623668

36633669
<li>
36643670
<p>Modify <var>httpRequest</var>'s <a for=request>header list</a> per HTTP. Do not

0 commit comments

Comments
 (0)