File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5923,11 +5923,15 @@ object), initially null.
5923
5923
5924
5924
<dt> {{RequestInit/mode}}
5925
5925
<dd> A string to indicate whether the request will use CORS, or will be restricted to same-origin
5926
- URLs. Sets <var> request</var> 's {{Request/mode}} .
5926
+ URLs. Sets <var> request</var> 's {{Request/mode}} . If <var> input</var> is a string, it defaults to
5927
+ "<code> cors</code> ".
5927
5928
5928
5929
<dt> {{RequestInit/credentials}}
5929
5930
<dd> A string indicating whether credentials will be sent with the request always, never, or only
5930
- when sent to a same-origin URL. Sets <var> request</var> 's {{Request/credentials}} .
5931
+ when sent to a same-origin URL — as well as whether any credentials sent back in the response
5932
+ will be used always, never, or only when received from a same-origin URL. Sets
5933
+ <var> request</var> 's {{Request/credentials}} . If <var> input</var> is a string, it defaults to
5934
+ "<code> same-origin</code> ".
5931
5935
5932
5936
<dt> {{RequestInit/cache}}
5933
5937
<dd> A string indicating how the request will interact with the browser's cache to set
You can’t perform that action at this time.
0 commit comments