Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected argument in flask send_file() module #14

Open
AminAlam opened this issue Feb 28, 2023 · 1 comment
Open

Unexpected argument in flask send_file() module #14

AminAlam opened this issue Feb 28, 2023 · 1 comment

Comments

@AminAlam
Copy link

AminAlam commented Feb 28, 2023

This error raises in Flask2.2.3:

response = send_file(file_path, mimetype='text/plain', cache_timeout=0)
TypeError: send_file() got an unexpected keyword argument 'cache_timeout'

I resolved this error in this pull req

@CaptAlpha
Copy link

Thanks this works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants