开发者

how to serve downloadable PDF using pylons and paste server

开发者 https://www.devze.com 2023-02-08 11:37 出处:网络
I have a directory of .pdf files and I want a us开发者_JAVA技巧er to click on name of a file and have it downloaded.

I have a directory of .pdf files and I want a us开发者_JAVA技巧er to click on name of a file and have it downloaded.

How can I do that with paste server in pylons?


Basically this thread contains the answer to my question:

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

0

精彩评论

暂无评论...
验证码 换一张
取 消