> Put this line in the method that will return the file: > > cherrypy.response.headerMap["Content-Disposition"] = "<some value>" >
I know the answer is quite lileky a NO, but, is this "webserver-portable"? e.g., will I be able to use my app with mod_python,
Kevin Dangoor
unread,
Jun 16, 2006, 5:07:23 PM6/16/06
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to turbo...@googlegroups.com
unless the connector between cp and mod_python is broken, I'd guess this would work.
fumanchu
unread,
Jun 16, 2006, 10:41:57 PM6/16/06
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TurboGears
It's demonstrated in CherryPy's tutorial 9, which is tested against mod_python regularly. So my answer is "quite likely a YES". :) Other HTTP servers and gateways are free to munge this header, of course.