Add standard error responses (MSC3743). (#1347)
This commit is contained in:
parent
dfc8a2e184
commit
eeb43043ad
10 changed files with 41 additions and 3 deletions
|
@ -164,6 +164,14 @@ each is as follows:
|
|||
Homeservers should periodically try again for the newer endpoints
|
||||
because the application service may have been updated.
|
||||
|
||||
#### Unknown routes
|
||||
|
||||
If a request for an unsupported (or unknown) endpoint is received then the server
|
||||
must respond with a 404 `M_UNRECOGNIZED` error.
|
||||
|
||||
Similarly, a 405 `M_UNRECOGNIZED` error is used to denote an unsupported method
|
||||
to a known endpoint.
|
||||
|
||||
#### Pushing events
|
||||
|
||||
The application service API provides a transaction API for sending a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue