File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -5986,6 +5986,21 @@ run these steps:
5986
5986
the <a data-lt="structured field token">token</a> <code> prefetch</code> ) in
5987
5987
<var> httpRequest</var> 's <a for=request>header list</a> .
5988
5988
5989
+ <li>
5990
+ <p> If <var> httpRequest</var> 's <a for=request>header list</a> <a for="header list">does not
5991
+ contain</a> `<code> User-Agent</code> `, then:
5992
+
5993
+ <ol>
5994
+ <li><p> Let <var> userAgent</var> be the result of running the [=WebDriver BiDi emulated
5995
+ User-Agent=] with <var> httpRequest</var> 's <a for=request>client</a> .
5996
+
5997
+ <li><p> If <var> userAgent</var> is null, set <var> userAgent</var> to <a>default
5998
+ `<code>User-Agent</code>` value</a> .
5999
+
6000
+ <li><p> <a for="header list">Append</a> (`<code> User-Agent</code> `, <var> userAgent</var> ) to
6001
+ <var> httpRequest</var> 's <a for=request>header list</a> .
6002
+ </ol>
6003
+
5989
6004
<li><p> If <var> httpRequest</var> 's <a for=request>header list</a>
5990
6005
<a for="header list">does not contain</a> `<code> User-Agent</code> `, then user agents should
5991
6006
<a for="header list">append</a> (`<code> User-Agent</code> `,
You can’t perform that action at this time.
0 commit comments