Re: [whatwg/fetch] Accept header for prefetch (PR #1485)

@annevk commented on this pull request.



> +<p>The <dfn lt="document Accept header value">Document `Accept` header value</dfn> is
+`<code>text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</code>`.

Maybe place this next to https://fetch.spec.whatwg.org/#default-user-agent-value? And do we need the `lt` attribute here?

> @@ -3984,6 +3987,10 @@ the request.
   <ol>
    <li><p>Let <var>value</var> be `<code>*/*</code>`.
 
+
+   <li><p>If <var>request</var>'s <a for=request>initiator</a> is "<code>prefetch</code>", then set
+   <var>value</var> to <a lt="document Accept header value">document `Accept` header value</a>.
+
    <li>
     <p>A user agent should set <var>value</var> to the first matching statement, if any, switching

This needs "Otherwise" in front or it will get overwritten, no?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1485#pullrequestreview-1120093511
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1485/review/1120093511@github.com>

Received on Monday, 26 September 2022 12:00:21 UTC