Skip to content
Myr

Fix typo in send_file docs

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

authored by Dag Odenhall · committed by Armin Ronacher · parent 7afd49c · 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.

Trailers

  • Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/helpers.py+1 added-1 removed
264 unmodified lines
265 requires support of the underlying webserver for `X-Sendfile`.266267 By default it will try to guess the mimetype for you, but you can268 also explicitly provide one. For extra security you probably want269 to sent certain files as attachment (HTML for instance). The mimetype269 to send certain files as attachment (HTML for instance). The mimetype270 guessing requires a `filename` or an `attachment_filename` to be271 provided.272273 Please never pass filenames to this function from user sources without
227 unmodified lines