forked from orbit-oss/flask
The implementations were moved to Werkzeug, Flask's functions become wrappers around Werkzeug to pass some Flask-specific values. cache_timeout is renamed to max_age. SEND_FILE_MAX_AGE_DEFAULT, app.send_file_max_age_default, and app.get_send_file_max_age defaults to None. This tells the browser to use conditional requests rather than a 12 hour cache. attachment_filename is renamed to download_name, and is always sent if a name is known. Deprecate helpers.safe_join in favor of werkzeug.utils.safe_join. Removed most of the send_file tests, they're tested in Werkzeug. In the file upload example, renamed the uploaded_file view to download_file to avoid a common source of confusion. |
||
|---|---|---|
| .. | ||
| static | ||
| templates | ||
| test_apps | ||
| conftest.py | ||
| test_appctx.py | ||
| test_basic.py | ||
| test_blueprints.py | ||
| test_cli.py | ||
| test_config.py | ||
| test_converters.py | ||
| test_helpers.py | ||
| test_instance_config.py | ||
| test_json.py | ||
| test_json_tag.py | ||
| test_logging.py | ||
| test_regression.py | ||
| test_reqctx.py | ||
| test_signals.py | ||
| test_subclassing.py | ||
| test_templating.py | ||
| test_testing.py | ||
| test_user_error_handler.py | ||
| test_views.py | ||