how to serve downloadable PDF using pylons and paste server

176 Views Asked by At

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?

1

There are 1 best solutions below

0
On BEST ANSWER

Basically this thread contains the answer to my question:

How can I set a custom response header for pylons static (public) files?