Skip to content

Commit 4d8c6ab

Browse files
specify HTTP status codes for SSE downgrade
1 parent dfcd298 commit 4d8c6ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/specification/draft/basic/transports.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ protocol version 2024-11-05) as follows:
291291
defined above:
292292
- If it succeeds, the client can assume this is a server supporting the new Streamable
293293
HTTP transport.
294-
- If it fails with an HTTP 4xx status code (e.g., 405 Method Not Allowed or 404 Not
295-
Found):
294+
- If it fails with the following HTTP status codes "400 Bad Request", "404 Not
295+
Found" or "405 Method Not Allowed":
296296
- Issue a GET request to the server URL, expecting that this will open an SSE stream
297297
and return an `endpoint` event as the first event.
298298
- When the `endpoint` event arrives, the client can assume this is a server running

0 commit comments

Comments
 (0)