[Zope] IE and HTML pdf's generated on the fly

Oliver Bleutgen myzope@gmx.net
Tue, 15 Oct 2002 03:08:41 +0200


Dennis Allison wrote:

> Jerome Alet <alet@librelogiciel.com> responded:
> 
>>On Mon, Oct 14, 2002 at 03:15:50PM -0700, Dennis Allison wrote:
>>
>>>   Content-Type: application/pdf 
>>>   Content-Disposition: inline; filename=foo.pdf
>>>
>>did you try my suggestion to replace "inline" with "attachment" ?
>>
>>why can't you call your method like "something.pdf" , that's just
>>a name after all ?
>>
>>
> 
> changing "inline" to "attachment" has no effect on the IE behavior.
> Removing the Content-Disposition header has no effect.  I've not tried
> removing the Content-Type and everything else--but it's on the short 
> list :-)
> 
> Zope does does not support python external methods with the extension 
> ".pdf".  :-)

Huh? Why is that?


Anyway, Pull a traverse ;-)

The easiest way would be to take a python script which calls the 
external method and use its ability to be called by traversal, i.e.

yourserver/pdf_producer_calling_python_script/IE_is_cool_NOT.pdf

HTH,
oliver