How to handle text/event-stream? (original) (raw)

I think text/event-stream responses should be handled as an upgrade and the socket released from the undici client (like with websockets).

Edit: this is done but docs for EventSource are missing.