Add missing parenthesis in 5.6 (Fetch API)

This commit is contained in:
Vse Mozhe Buty 2020-11-27 16:47:08 +02:00 committed by GitHub
parent 6ec4c4fc99
commit ae6f990d62
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. 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