浏览代码

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

LincolnPuzey 4 年之前
父节点
当前提交
d754361096
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/ref/request-response.txt

+ 1 - 1
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,
 because it features a slightly different API. However, it is almost identical,
 with the following notable differences:
 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
 * You cannot access its content, except by iterating the response object
   itself. This should only occur when the response is returned to the client.
   itself. This should only occur when the response is returned to the client.