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. |
||
|---|---|---|
| .. | ||
| appdispatch.rst | ||
| appfactories.rst | ||
| caching.rst | ||
| celery.rst | ||
| deferredcallbacks.rst | ||
| distribute.rst | ||
| fabric.rst | ||
| favicon.rst | ||
| fileuploads.rst | ||
| flashing.rst | ||
| index.rst | ||
| jquery.rst | ||
| lazyloading.rst | ||
| methodoverrides.rst | ||
| mongoengine.rst | ||
| packages.rst | ||
| requestchecksum.rst | ||
| singlepageapplications.rst | ||
| sqlalchemy.rst | ||
| sqlite3.rst | ||
| streaming.rst | ||
| subclassing.rst | ||
| templateinheritance.rst | ||
| urlprocessors.rst | ||
| viewdecorators.rst | ||
| wtforms.rst | ||