Commit f75ec5e
Fix SSE headers symbol error when Headers object is passed
Handle Headers object properly in eventSourceInit fetch function by converting
it to a plain object before spreading. This fixes the ByteString conversion
error that occurs when Headers contains symbols.
Closes #150 and #148
Co-authored-by: Amp <[email protected]>
Amp-Thread-ID: https://ampcode.com/threads/T-424be391-89c5-403e-946a-f5463bb562d51 parent aa8baa8 commit f75ec5e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| |||
0 commit comments