Fix contradiction in wellknown discovery for servers
Fixes https://github.com/matrix-org/matrix-doc/issues/1854
This commit is contained in:
parent
baf00ba6d1
commit
c8428b1f8b
1 changed files with 2 additions and 3 deletions
|
@ -35,9 +35,8 @@ paths:
|
||||||
The delegated server information. The ``Content-Type`` for this response SHOULD
|
The delegated server information. The ``Content-Type`` for this response SHOULD
|
||||||
be ``application/json``, however servers parsing the response should assume that
|
be ``application/json``, however servers parsing the response should assume that
|
||||||
the body is JSON regardless of type. Failures parsing the JSON or invalid data
|
the body is JSON regardless of type. Failures parsing the JSON or invalid data
|
||||||
provided in the resulting parsed JSON must result in server discovery failure (no
|
provided in the resulting parsed JSON should not result in discovery failure -
|
||||||
attempts should be made to continue finding an IP address/port number to connect
|
consult the server discovery process for information on how to continue.
|
||||||
to).
|
|
||||||
examples:
|
examples:
|
||||||
application/json: {
|
application/json: {
|
||||||
"m.server": "delegated.example.com:1234"
|
"m.server": "delegated.example.com:1234"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue