Consume Server-Sent Event (SSE) messages with HTTPX
MIT License
Content-Type
that contain but are not strictly text/event-stream
. (Pull #22 by @dbuades)Content-Type
is missing. (Pull #20 by @jamesbraza)Published by florimondmanca over 1 year ago
__repr__()
for ServerSentEvent
model, which may help with debugging and other tasks. (Pull #16)Published by florimondmanca over 1 year ago
SSEError
if the response content type is not text/event-stream
is now performed as part of iter_sse()
/ aiter_sse()
, instead of connect_sse()
/ aconnect_sse()
. This allows inspecting the response before iterating on server-sent events, such as checking for error responses. (Pull #12)Published by florimondmanca over 1 year ago
See CHANGELOG.md
Published by florimondmanca over 1 year ago
See CHANGELOG.md