WSGI: start_response buffers headers

Robert Collins <[email protected]> Fri, 26 Sep 2014 15:48:16 +1200
Newsgroups gmane.comp.python.web
Message-ID <CAJ3HoZ2f0porbxOS7ebNkg2cFrJ+MbN6F4S3T0hWsD3VdGDXNA@mail.gmail.com>
https://github.com/python-web-sig/wsgi-ng/issues/4

So doing bidirectional streaming is somewhat incompatible with
requiring that headers be buffered until actual server side content is
available (what if the client is meant to write first... but is itself
waiting for the stream to be established).

I think making an empty bytestream flush the headers would be
sufficient, and preserve much of the niceness.

-Rob

-- 
Robert Collins <[email protected]>
Distinguished Technologist
HP Converged Cloud
_______________________________________________
Web-SIG mailing list
[email protected]
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: https://mail.python.org/mailman/options/web-sig/gcpw-web-sig%40m.gmane.org