Flask Documentation (1.1.x)Code Using _app_ctx_stack Learn from Others Approved Extensions Pocoo Styleguide General Layout Expressions and Statements Naming Conventions Docstrings Comments Upgrading to Newer Releases Version 0.12 mimetype=None, as_attachment=False, attachment_filename=None, add_etags=True, cache_timeout=None, conditional=False, last_modified=None) Sends the contents of a file to the client. This will use the most automatically if a filename is provided. You can turn this off by setting add_etags=False. If conditional=True and filename is provided, this method will try to upgrade the response stream to support range0 码力 | 428 页 | 895.98 KB | 1 年前3
Flask Documentation (1.1.x)mimetype=None, as_attachment=False, attachment_filename=None, add_etags=True, cache_timeout=None, conditional=False, last_modified=None) Sends the contents of a file to the client. This will use the most automatically if a filename is provided. You can turn this off by setting add_etags=False. If conditional=True and filename is provided, this method will try to upgrade the response stream to support range functionality will be removed in Flask 1.0 New in version 0.5: The add_etags, cache_timeout and conditional parameters were added. The default behavior is now to attach etags. New in version 0.2. Changed0 码力 | 291 页 | 1.25 MB | 1 年前3
共 2 条
- 1
相关搜索词













