Search code examples
pdfpylonspaster

how to serve downloadable PDF using pylons and paste server


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?