Timeline for Change default file name when downloading from Media Library
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 28, 2016 at 14:39 | comment | added | Maziar Rezaei | Another thing that I found is that for the non-image files that I was using, the SendMediaHeaders method did not add any headers and basically handed off all the work to a helper class. | |
Sep 26, 2016 at 20:02 | comment | added | Maziar Rezaei | The media URL is: /-/media/files/filename.pdf | |
Sep 26, 2016 at 19:47 | comment | added | Maziar Rezaei | Thanks for your answer, however that pipeline does not appear to be executed when downloading a non-image file, a PDF file in my test. Looking at the MediaRequestHandler, I cannot ascertain if that handler is being triggered at all. | |
Sep 23, 2016 at 20:49 | history | answered | Richard Seal♦ | CC BY-SA 3.0 |