Update spec text for CORS MSC (#4187)

pull/4189/head
Travis Ralston 1 year ago committed by GitHub
parent 41495d2355
commit f633d3006e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save