Add missing parenthesis in 5.6 (Fetch API)
This commit is contained in:
parent
6ec4c4fc99
commit
ae6f990d62
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ These options govern how `fetch` sets HTTP `Referer` header.
|
||||||
|
|
||||||
Usually that header is set automatically and contains the url of the page that made the request. In most scenarios, it's not important at all, sometimes, for security purposes, it makes sense to remove or shorten it.
|
Usually that header is set automatically and contains the url of the page that made the request. In most scenarios, it's not important at all, sometimes, for security purposes, it makes sense to remove or shorten it.
|
||||||
|
|
||||||
**The `referrer` option allows to set any `Referer` within the current origin) or remove it.**
|
**The `referrer` option allows to set any `Referer` (within the current origin) or remove it.**
|
||||||
|
|
||||||
To send no referer, set an empty string:
|
To send no referer, set an empty string:
|
||||||
```js
|
```js
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue