Skip to content

Commit 1d07857

Browse files
committed
fix typo
1 parent b0b2778 commit 1d07857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/patterns/streaming.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ data and to then invoke that function and pass it to a response object::
2020
def generate():
2121
for row in iter_all_rows():
2222
yield f"{','.join(row)}\n"
23-
return generate(), {"Content-Type": "text/csv")
23+
return generate(), {"Content-Type": "text/csv"}
2424

2525
Each ``yield`` expression is directly sent to the browser. Note though
2626
that some WSGI middlewares might break streaming, so be careful there in

0 commit comments

Comments
 (0)