diff options
| author | LincolnPuzey <lincoln@puzey.dev> | 2020-07-23 19:12:58 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-23 13:12:58 +0200 |
| commit | d75436109694c286d9af48ae94ca39759d080214 (patch) | |
| tree | a39176cbbc21f344ee024b5b386088b9e452cc81 /docs/ref | |
| parent | 51e536178cba9489b9d759f69f72f442af16ba32 (diff) | |
Fixed #31816 -- Corrected the expected content type in StreamingHttpResponse docs.
Diffstat (limited to 'docs/ref')
| -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 80e3e1e6ed..0256713822 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -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. |
