Skip to content

Commit a388348

Browse files
authored
Explain the use-URL-credentials flag
Although, see #1496 for potential followup.
1 parent 7c30987 commit a388348

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

fetch.bs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1852,6 +1852,13 @@ which is "<code>omit</code>", "<code>same-origin</code>", or
18521852
<dfn export for=request id=concept-request-use-url-credentials-flag>use-URL-credentials flag</dfn>.
18531853
Unless stated otherwise, it is unset.
18541854

1855+
<p class=note>When this flag is set, when a <a for=/>request</a>'s
1856+
<a for=request>URL</a> has a <a for=url>username</a> and <a for=url>password</a>, and there is an
1857+
available <a>authentication entry</a> for the <a for=/>request</a>, then the <a for=/>URL</a>'s
1858+
credentials are preferred over that of the <a>authentication entry</a>. Modern specifications avoid
1859+
setting this flag, since putting credentials in <a for=/>URLs</a> is discouraged, but some older
1860+
features set it for compatibility reasons.
1861+
18551862
<p>A <a for=/>request</a> has an associated
18561863
<dfn export for=request id=concept-request-cache-mode>cache mode</dfn>, which is
18571864
"<code>default</code>", "<code>no-store</code>", "<code>reload</code>",

0 commit comments

Comments
 (0)