Skip to content

Commit

Permalink
Rename algorithm from set => append.
Browse files Browse the repository at this point in the history
Based on feedback in whatwg/fetch#993.
  • Loading branch information
mikewest committed Mar 2, 2021
1 parent 9391545 commit bbc55cd
Show file tree
Hide file tree
Showing 2 changed files with 877 additions and 248 deletions.
8 changes: 4 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ inserting the following step after the current algorithm's step 2:

ISSUE(whatwg/html#5203): This should be defined in HTML.

<div algorithm="set fetch metadata headers">
To <dfn abstract-op export>set the Fetch metadata headers for a request</dfn>, given [=request=] |r|:
<div algorithm="append fetch metadata headers">
To <dfn abstract-op export>append the Fetch metadata headers for a request</dfn>, given [=request=] |r|:

<ol class="algorithm">
1. If |r|'s [=request/url=] is not an [=potentially trustworthy URL=], return.
Expand All @@ -323,8 +323,8 @@ To <dfn abstract-op export>set the Fetch metadata headers for a request</dfn>, g
</ol>
</div>

Fetch will call into the algorithm above from within its [=main fetch=] algorithm. Please consult
that specification for integration details [[!FETCH]].
Fetch will call into the algorithm above from within its "HTTP-network-or-cache fetch" algorithm.
Please consult that specification for integration details [[!FETCH]].

ISSUE(whatwg/fetch#993): This should be called from in Fetch.

Expand Down
Loading

0 comments on commit bbc55cd

Please sign in to comment.