At 12:08 PM 12/10/2007 +0000, Chris Withers wrote:
>Hi All,
>
>What's the best way to serve large files (say detailed images or pdfs)
>from a wsgi app?
>
>Is there special support for this?

That's what the iteration part of the protocol is for (well, and a 
few other things).  If you're not serving large files, it's 
counterproductive to yield multiple values or to call write() multiple times.

_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to