File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -3651,6 +3651,16 @@ Range Requests</cite>. [[HTTP-RANGE]] However, this is not widely supported by b
3651
3651
<!-- Technically this only applies to HTTP/1.1 and up -->
3652
3652
</ol>
3653
3653
3654
+ <li>
3655
+ <p> If <var> httpRequest</var> 's <a for=request>header list</a> <a for="header list">contains</a>
3656
+ `<code> Range</code> `, then <a for="header list">append</a>
3657
+ `<code> Accept-Encoding</code> `/`<code> identity</code> ` to <var> httpRequest</var> 's
3658
+ <a for=request>header list</a> .
3659
+
3660
+ <p class="note no-backref">
3661
+ <a href="https://jakearchibald.github.io/accept-encoding-range-test/">Many servers</a>
3662
+ mistakenly ignore `<code> Range</code> ` headers if a non-identity encoding is accepted.
3663
+
3654
3664
<li>
3655
3665
<p> Modify <var> httpRequest</var> 's
3656
3666
<a for=request>header list</a> per HTTP.
@@ -3661,7 +3671,7 @@ Range Requests</cite>. [[HTTP-RANGE]] However, this is not widely supported by b
3661
3671
`<code> Connection</code> `,
3662
3672
`<code> DNT</code> `, and
3663
3673
`<code> Host</code> `,
3664
- are to be <a for="header list">appended</a> if necessary.
3674
+ are to be <a for="header list">appended</a> if necessary, unless already specified .
3665
3675
3666
3676
<p> `<code> Accept</code> `,
3667
3677
`<code> Accept-Charset</code> `, and
You can’t perform that action at this time.
0 commit comments