Fixed #31816 -- Corrected the expected content type in StreamingHttpResponse docs.

This commit is contained in:
LincolnPuzey 2020-07-23 19:12:58 +08:00 committed by GitHub
parent 51e536178c
commit d754361096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1116,7 +1116,7 @@ The :class:`StreamingHttpResponse` is not a subclass of :class:`HttpResponse`,
because it features a slightly different API. However, it is almost identical,
with the following notable differences:
* It should be given an iterator that yields strings as content.
* It should be given an iterator that yields bytestrings as content.
* You cannot access its content, except by iterating the response object
itself. This should only occur when the response is returned to the client.