Browse Source

Fix typo in send_file docs

Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
pull/160/head
Dag Odenhall 14 years ago committed by Armin Ronacher
parent
commit
4a45345fc4
  1. 2
      flask/helpers.py

2
flask/helpers.py

@ -266,7 +266,7 @@ def send_file(filename_or_fp, mimetype=None, as_attachment=False,
By default it will try to guess the mimetype for you, but you can
also explicitly provide one. For extra security you probably want
to sent certain files as attachment (HTML for instance). The mimetype
to send certain files as attachment (HTML for instance). The mimetype
guessing requires a `filename` or an `attachment_filename` to be
provided.

Loading…
Cancel
Save