We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0b2778 commit 1d07857Copy full SHA for 1d07857
docs/patterns/streaming.rst
@@ -20,7 +20,7 @@ data and to then invoke that function and pass it to a response object::
20
def generate():
21
for row in iter_all_rows():
22
yield f"{','.join(row)}\n"
23
- return generate(), {"Content-Type": "text/csv")
+ return generate(), {"Content-Type": "text/csv"}
24
25
Each ``yield`` expression is directly sent to the browser. Note though
26
that some WSGI middlewares might break streaming, so be careful there in
0 commit comments