[Web-SIG] WSGI: allowing short reads

Dirkjan Ochtman dirkjan at ochtman.nl
Fri Sep 26 08:16:33 CEST 2014


On Fri, Sep 26, 2014 at 6:14 AM, Robert Collins
<robertc at robertcollins.net> wrote:
> I don't think we need read1 (perhaps I'm wrong) but making read
> consistent with the io library would be good, I think - particularly
> for websockets.

I would agree, but for websockets, I'd really want a per-frame
generator or something. I've always used JSON messages that fit in a
WebSockets frame, so I don't actually need to look for message/object
boundaries.

Cheers,

Dirkjan


More information about the Web-SIG mailing list