Commit 3f4576d
Handle 202 Accepted response when server delivers via SSE stream
When an SSE stream is active, the server responds with 202 Accepted
(no Content-Type, empty body) to POST requests, delivering the actual
response via the SSE stream. Previously this raised an unsupported
Content-Type error.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0c3b676 commit 3f4576d
2 files changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
137 | 140 | | |
138 | 141 | | |
139 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
268 | 277 | | |
269 | 278 | | |
270 | 279 | | |
| |||
0 commit comments