Skip to content

Commit e195256

Browse files
authored
Response header name is changed to the right one
1 parent 2275894 commit e195256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5-network/06-fetch-api/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ This option may be useful when the URL for `fetch` comes from a 3rd-party, and w
147147
The `credentials` option specifies whether `fetch` should send cookies and HTTP-Authorization headers with the request.
148148
149149
- **`"same-origin"`** -- the default, don't send for cross-origin requests,
150-
- **`"include"`** -- always send, requires `Accept-Control-Allow-Credentials` from cross-origin server in order for JavaScript to access the response, that was covered in the chapter <info:fetch-crossorigin>,
150+
- **`"include"`** -- always send, requires `Access-Control-Allow-Credentials` from cross-origin server in order for JavaScript to access the response, that was covered in the chapter <info:fetch-crossorigin>,
151151
- **`"omit"`** -- never send, even for same-origin requests.
152152
153153
## cache

0 commit comments

Comments
 (0)