Changes between Initial Version and Version 1 of Ticket #7581, comment 39


Ignore:
Timestamp:
Oct 20, 2012, 4:54:03 AM (12 years ago)
Author:
Aymeric Augustin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7581, comment 39

    initial v1  
    33- I'm not going to refactor `HttpResponse` right now; there's another ticket about that.
    44- I'm going to introduce a subclass of `StreamingHttpResponse` that provides a deprecated content attribute, and use that class in the static serve view, to preserve backwards compatibility.
     5- I'm going to deal with closing iterators; it's required to avoid leaking file descriptors in the static serve view.
    56- I'm going to introduce a `response.streaming` boolean flag to avoid the `hasattr(response, 'streaming_content')` pattern.
    67- I'm not going to change the middleware API.
Back to Top