Skip to content

Commit 7d57570

Browse files
Ben Greensteinbengreenstein
Ben Greenstein
authored andcommitted
Referred to add a range header
1 parent 92a6ca8 commit 7d57570

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

source

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2795,7 +2795,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
27952795
<li><dfn data-x="concept-request-method" data-x-href="https://fetch.spec.whatwg.org/#concept-request-method">method</dfn></li>
27962796
<li><dfn data-x="concept-request-header-list" data-x-href="https://fetch.spec.whatwg.org/#concept-request-header-list">header list</dfn></li>
27972797
<li><dfn data-x="concept-request-body" data-x-href="https://fetch.spec.whatwg.org/#concept-request-body">body</dfn></li>
2798-
<li><dfn data-x="concept-request-range-header" data-x-href="https://fetch.spec.whatwg.org/#concept-request-add-range-header">range header</dfn></li>
2798+
<li><dfn data-x="concept-request-add-range-header" data-x-href="https://fetch.spec.whatwg.org/#concept-request-add-range-header">add a range header</dfn></li>
27992799
<li><dfn data-x="concept-request-client" data-x-href="https://fetch.spec.whatwg.org/#concept-request-client">client</dfn></li>
28002800
<li><dfn data-x="concept-request-current-url" data-x-href="https://fetch.spec.whatwg.org/#concept-request-current-url">current URL</dfn></li>
28012801
<li><dfn data-x="concept-request-reserved-client" data-x-href="https://fetch.spec.whatwg.org/#concept-request-reserved-client">reserved client</dfn></li>
@@ -27339,10 +27339,9 @@ was an English &lt;a href="/wiki/Music_hall">music hall&lt;/a> singer, ...</code
2733927339
policy</span> to the current state of the element's <code
2734027340
data-x="attr-img-referrerpolicy">referrerpolicy</code> attribute.</p></li>
2734127341

27342-
<li><p>Set <var>request</var>'s <span
27343-
data-x-href="https://fetch.spec.whatwg.org/#concept-request-add-range-header">range header
27344-
</span> to request as much data from the beginning of the image file as the user agent
27345-
determines is reasonable to retrieve metatdata.</p></li>
27342+
<li><p>Then <span data-x="concept-request-add-range-header">add a range header
27343+
</span> to <var>request</var> starting at byte 0 and ending with as many bytes of the image
27344+
file as the user agent determines is reasonable to retrieve metatdata.</p></li>
2734627345

2734727346
<li><p><span data-x="concept-fetch">Fetch</span> <var>request</var>, and use the metadata
2734827347
contained in the response as appropriate for the image.</p></li>

0 commit comments

Comments
 (0)