how to serve downloadable PDF using pylons and paste server
Question
I have a directory of .pdf files and I want a user to click on name of a file and have it downloaded.
How can I do that with paste server in pylons?
Solution
Basically this thread contains the answer to my question:
How can I set a custom response header for pylons static (public) files?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow