summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLincolnPuzey <lincoln@puzey.dev>2020-07-23 19:12:58 +0800
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-07-23 13:13:44 +0200
commit6fc4445cff9a181317d6e1718b077032bbfea8a8 (patch)
tree7d9fd2e2a62f9b9b39aeaa8201fa14e1fe96f4fa
parentb732afe30a66ac9ae13c3a43e582fb7cb6315ee4 (diff)
[3.0.x] Fixed #31816 -- Corrected the expected content type in StreamingHttpResponse docs.
Backport of d75436109694c286d9af48ae94ca39759d080214 from master
-rw-r--r--docs/ref/request-response.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt
index 8eb578d505..99878f6ab9 100644
--- a/docs/ref/request-response.txt
+++ b/docs/ref/request-response.txt
@@ -1084,7 +1084,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.