Commit 0dfbf9d
committed
Clarify SEP-1699: SSE stream resumption and polling
Addresses implementation ambiguities discovered during SDK development (modelcontextprotocol#1847):
1. GET streams support polling: Clarify that GET-initiated streams follow the
same retry/polling behavior as POST streams when server closes connection
without terminating the stream.
2. Resumption always via GET: Explicitly state that resumption via
Last-Event-ID applies regardless of how the original stream was initiated
(POST or GET).
3. Event IDs should encode stream identity: Add guidance that event IDs
SHOULD contain sufficient information to identify the originating stream,
enabling servers to correlate Last-Event-ID to the correct stream.
4. Add SSE spec link for `retry` field: Link to the SSE standard for the
retry field behavior.
5. Clarify disconnection scope: "Broken connection" includes server-initiated
disconnection, not just network failures.1 parent 48d9c77 commit 0dfbf9d
2 files changed
+15
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
151 | 154 | | |
152 | 155 | | |
153 | 156 | | |
| |||
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
171 | | - | |
172 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
173 | 179 | | |
174 | 180 | | |
175 | 181 | | |
176 | 182 | | |
177 | 183 | | |
178 | 184 | | |
179 | 185 | | |
| 186 | + | |
| 187 | + | |
180 | 188 | | |
181 | 189 | | |
182 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments