UnicodeDecodeError
yukw777 opened this issue · 0 comments
yukw777 commented
I'm trying to use sse-starlette
to stream raw bytes (e.g. live videos). I've noticed that EventSourceResponse
tries to decode chunk
for debug logging (
sse-starlette/sse_starlette/sse.py
Line 206 in 28b06b9
sse-starlette/sse_starlette/sse.py
Line 265 in 28b06b9
UnicodeDecodeError
as chunk
in my case is binary. What would be the best way to fix it? Happy to send a PR based on your suggestion.