Removed inaccurate statement from the StreamingHttpResponse docs.

Iterators will be closed for both regular and streaming responses;
this shouldn't be described as a difference.
This commit is contained in:
Aymeric Augustin 2012-10-21 22:44:02 +02:00
parent 5e629a015e
commit 104ca49c57
1 changed files with 0 additions and 3 deletions

View File

@ -833,9 +833,6 @@ with the following notable differences:
* You cannot use the file-like object ``tell()`` or ``write()`` methods. * You cannot use the file-like object ``tell()`` or ``write()`` methods.
Doing so will raise an exception. Doing so will raise an exception.
* Any iterators that have a ``close()`` method and are assigned as content will
be closed automatically after the response has been iterated.
:class:`StreamingHttpResponse` should only be used in situations where it is :class:`StreamingHttpResponse` should only be used in situations where it is
absolutely required that the whole content isn't iterated before transferring absolutely required that the whole content isn't iterated before transferring
the data to the client. Because the content can't be accessed, many the data to the client. Because the content can't be accessed, many