forked from orbit-oss/flask
Fix typo in send_file docs
Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
This commit is contained in:
parent
7afd49c648
commit
4a45345fc4
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
By default it will try to guess the mimetype for you, but you can
|
||||||
also explicitly provide one. For extra security you probably want
|
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
|
guessing requires a `filename` or an `attachment_filename` to be
|
||||||
provided.
|
provided.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue