You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(examples): return 404 for unknown session IDs, 400 for missing
Per spec, clients interpret 404 as "start a new session" — the examples
were returning 400 for both missing and unknown session IDs, which breaks
client recovery logic. Split the check so unknown IDs return 404.
Fixes#389
Example servers now return HTTP 404 (not 400) when a request includes an unknown session ID, so clients can correctly detect they need to start a new session. Requests missing a session ID entirely still return 400.
0 commit comments