You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Old names for some send_file parameters have been removed. download_name replaces attachment_filename, max_age replaces cache_timeout, and etag replaces add_etags. Additionally, path replaces filename in send_from_directory.
These have been raising deprecation warnings since 2.0. Be sure to run your tests with warnings treated as errors so you can respond to deprecations (in any library, not just Flask).
Old code start throwing this exception:
TypeError: send_file() got an unexpected keyword argument 'attachment_filename'
The text was updated successfully, but these errors were encountered: