Merge pull request #2321 from vsemozhetbyt/patch-4

Add missing parenthesis in 5.6 (Fetch API)
This commit is contained in:
Ilya Kantor 2020-11-29 11:16:18 +03:00 committed by GitHub
commit 8b987211e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.
**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:
```js