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 @@ -5889,6 +5889,21 @@ run these steps:
5889
5889
the <a data-lt="structured field token">token</a> <code> prefetch</code> ) in
5890
5890
<var> httpRequest</var> 's <a for=request>header list</a> .
5891
5891
5892
+ <li>
5893
+ <p> If <var> httpRequest</var> 's <a for=request>header list</a> <a for="header list">does not
5894
+ contain</a> `<code> User-Agent</code> `, then:
5895
+
5896
+ <ol>
5897
+ <li><p> Let <var> userAgent</var> be the result of running the [=WebDriver BiDi emulated
5898
+ User-Agent=] with <var> httpRequest</var> 's <a for=request>client</a> .
5899
+
5900
+ <li><p> If <var> userAgent</var> is null, set <var> userAgent</var> to <a>default
5901
+ `<code>User-Agent</code>` value</a> .
5902
+
5903
+ <li><p> <a for="header list">Append</a> (`<code> User-Agent</code> `, <var> userAgent</var> ) to
5904
+ <var> httpRequest</var> 's <a for=request>header list</a> .
5905
+ </ol>
5906
+
5892
5907
<li><p> If <var> httpRequest</var> 's <a for=request>header list</a>
5893
5908
<a for="header list">does not contain</a> `<code> User-Agent</code> `, then user agents should
5894
5909
<a for="header list">append</a> (`<code> User-Agent</code> `,
You can’t perform that action at this time.
0 commit comments