[Zope] Re: return a pdf from a python script

Sam Boggess sboggess at gmail.com
Wed Jan 5 12:28:06 EST 2005


I figured out how to return a pdf from a python script:

context.REQUEST.RESPONSE.setHeader('Content-Type','application/pdf')
return context['blach.pdf']

Sam





More information about the Zope mailing list