Skip to content

Commit

Permalink
Update spec text for CORS MSC (#4187)
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live authored Sep 4, 2024
1 parent 41495d2 commit f633d30
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion proposals/4138-update-cors-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ the `Access-Control-Allow-Methods` header.
## Proposal

The [`Access-Control-Allow-Methods` header's recommended value](https://spec.matrix.org/v1.10/client-server-api/#web-browser-clients)
is updated to include the following:
is updated to note that the HTTP methods described cover existing specified endpoints. Servers which
support additional endpoints or methods should add those methods as well. The specification will be
updated whenever a new method is supported by an endpoint.

Examples of possible future-use methods include:

* `PATCH` - A plausibly useful HTTP method for future use.
* `HEAD` - Similar to `PATCH`, `HEAD` is plausibly useful for feature detection and cases like
Expand Down

0 comments on commit f633d30

Please sign in to comment.