diff options
| author | LincolnPuzey <lincoln@puzey.dev> | 2020-07-23 19:12:58 +0800 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-07-23 13:13:17 +0200 |
| commit | bc75442ebfe2102fcc52c755cb40ba8051f0e383 (patch) | |
| tree | cc3795c97b705f96a36a01d6aa35b43f92cb7ffa /docs | |
| parent | 26113b9de15b886ad27156612b43e15cea2b1ced (diff) | |
[3.1.x] Fixed #31816 -- Corrected the expected content type in StreamingHttpResponse docs.
Backport of d75436109694c286d9af48ae94ca39759d080214 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/request-response.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 86a55bc45d..fa5d6fc259 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -1128,7 +1128,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. |
