Message172830
| Author |
btubbs |
| Recipients |
btubbs |
| Date |
2012年10月13日.21:00:19 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1350162020.69.0.603099084932.issue16220@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
When a WSGI application returns an iterable that has a .close() method, the server is supposed to call that method once the request has finished. The wsgiref server does not do this when a client disconnects from a streaming response.
The attached script allows testing the .close() behavior of various wsgi servers (wsgiref, cherrypy, gevent, werkzeug, and gunicorn). wsgiref is the only one of the tested implementations that does not call .close(). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年10月13日 21:00:20 | btubbs | set | recipients:
+ btubbs |
| 2012年10月13日 21:00:20 | btubbs | set | messageid: <1350162020.69.0.603099084932.issue16220@psf.upfronthosting.co.za> |
| 2012年10月13日 21:00:20 | btubbs | link | issue16220 messages |
| 2012年10月13日 21:00:20 | btubbs | create |
|