Comment on Download a file when user click the button using PythonComments−Nextgrid3yIn general I'd recommend using the built-in FileResponse class instead of rolling your own.
Comments
In general I'd recommend using the built-in FileResponse class instead of rolling your own.