You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 5-network/04-fetch-crossorigin/article.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -198,7 +198,7 @@ A preflight request uses method `OPTIONS` and has no body.
198
198
199
199
If the server agrees to serve the requests, then it should respond with status 200, without body.
200
200
201
-
- The response header `Access-Control-Allow-Method` must have the allowed method.
201
+
- The response header `Access-Control-Allow-Methods` must have the allowed method.
202
202
- The response header `Access-Control-Allow-Headers` must have a list of allowed headers.
203
203
- Additionally, the header `Access-Control-Max-Age` may specify a number of seconds to cache the permissions. So the browser won't have to send a preflight for subsequent requests that satisfy given permissions.
0 commit comments