Skip to content
Myr

Merge pull request #626 from maxcountryman/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

correcting typo

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 2b885ce, caefb67 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/patterns/streaming.rst+1 added-1 removed
22 unmodified lines
23 for row in iter_all_rows():24 yield ','.join(row) + '\n'25 return Response(generate(), mimetype='text/csv')2627Each ``yield`` expression is directly sent to the browser. Now though27Each ``yield`` expression is directly sent to the browser. Note though28that some WSGI middlewares might break streaming, so be careful there in29debug environments with profilers and other things you might have enabled.3031Streaming from Templates
53 unmodified lines