Changes between Initial Version and Version 1 of Ticket #7581, comment 39
- Timestamp:
- Oct 20, 2012, 4:54:03 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7581, comment 39
initial v1 3 3 - I'm not going to refactor `HttpResponse` right now; there's another ticket about that. 4 4 - 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. 5 6 - I'm going to introduce a `response.streaming` boolean flag to avoid the `hasattr(response, 'streaming_content')` pattern. 6 7 - I'm not going to change the middleware API.