[Web-SIG] Direct use of sys.stdout, sys.stderr and sys.stdin in WSGI application.

Phillip J. Eby pje at telecommunity.com
Thu Mar 22 20:45:53 CET 2007


At 04:52 PM 3/22/2007 +0000, Alan Kennedy wrote:
>But if the users want their "modern" python applications to be
>portable everywhere on WSGI, e.g. returning (iterable) files as ouput,

Actually, returning a file as output is a horrible idea, since it will 
massively reduce throughput, due to transmitting one line at a time to the 
web browser.  :)



More information about the Web-SIG mailing list