Issue using download method downloads the file with `download` name
sant123 opened this issue · 1 comments
sant123 commented
Summary
Running this code https://drash.land/drash/v2.x/tutorials/responses/setting-the-body#download from the docs always generates a file named download
.
Steps To Reproduce The Bug
- Copy and paste the code from the docs
- Run the app
- Open a browser tab with the application link
- Will see all files downloaded as
download
Expected Behavior
It should use the filename from the function parameters
Suggested Solution(s)
The issue is in the Content-Disposition
header
Screenshots
ebebbington commented
Thanks for raising this issue, we’ll try get to it some point this week