httpx-sse

Consume Server-Sent Event (SSE) messages with HTTPX

MIT License

Downloads
1.7M
Stars
129
Committers
6
httpx-sse - Version 0.4.0 Latest Release

Published by florimondmanca 10 months ago

Removed

  • Dropped Python 3.7 support, as it has reached EOL. (Pull #21)

Added

  • Add official support for Python 3.12. (Pull #21)

Fixed

  • Allow Content-Type that contain but are not strictly text/event-stream. (Pull #22 by @dbuades)
  • Improve error message when Content-Type is missing. (Pull #20 by @jamesbraza)
httpx-sse - Version 0.3.1

Published by florimondmanca over 1 year ago

Added

  • Add __repr__() for ServerSentEvent model, which may help with debugging and other tasks. (Pull #16)
httpx-sse - Version 0.3.0

Published by florimondmanca over 1 year ago

0.3.0 - 2023-04-27

Changed

  • Raising an 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)
httpx-sse - Version 0.2.0

Published by florimondmanca over 1 year ago

httpx-sse - Version 0.1.0

Published by florimondmanca over 1 year ago