Merge pull request #3166 from nikandev/patch-1

Update article.md
This commit is contained in:
Ilya Kantor 2022-09-20 13:45:25 +02:00 committed by GitHub
commit 267226380b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ let promise = fetch(url, {
// depending on the request body // depending on the request body
"Content-Type": "text/plain;charset=UTF-8" "Content-Type": "text/plain;charset=UTF-8"
}, },
body: undefined // string, FormData, Blob, BufferSource, or URLSearchParams body: undefined, // string, FormData, Blob, BufferSource, or URLSearchParams
referrer: "about:client", // or "" to send no Referer header, referrer: "about:client", // or "" to send no Referer header,
// or an url from the current origin // or an url from the current origin
referrerPolicy: "no-referrer-when-downgrade", // no-referrer, origin, same-origin... referrerPolicy: "no-referrer-when-downgrade", // no-referrer, origin, same-origin...