/ Zope / Apsis / Pound Mailing List / Archive / 2003 / 2003-12 / Serving PDF with pound and Zope fails for IE5.5/IE6

[ << ] [ >> ]

[ Pound-current.tgz vs. ??? / Dennis Allison ... ] [ Small issue / "Joel Johnston" ... ]

Serving PDF with pound and Zope fails for IE5.5/IE6
Sascha Gresk <Sascha.Gresk(at)Opensource-Consult.De>
2003-12-16 00:20:07 [ FULL ]
Hi again,

Now I would like to serve some PDF-Content with Zope/External
Method.

Any Browser but ... IE ... can do this job ;-)

Some of the header seem to be rewriten inbetween,
a normal unencrypted connection or a ssl-tunnel
deliver the same PDF-Content just as intentend.


Please comment,
Sascha

[...]

Re: Serving PDF with pound and Zope fails for IE5.5/IE6
Dennis Allison <allison(at)sumeru.stanford.EDU>
2003-12-16 00:44:48 [ FULL ]
The file must be named xxxx.pdf -- and you should provide the usual 
mime headers for standards complient browsers.  Differen IE versions 
behave differently, or so I am lead to believe.


On Tue, 16 Dec 2003, Sascha Gresk wrote:
[...]

Re: Serving PDF with pound and Zope fails for IE5.5/IE6
Sascha Gresk <Sascha.Gresk(at)Opensource-Consult.De>
2003-12-16 09:24:42 [ FULL ]
Am 16.12.2003 um 00:44 schrieb Dennis Allison:
[...]

Okay I have done that, but it does not seem to
be required.
[...]

I did that, but something seems to get modified by pound.
[...]

No Pound - no Problem - but no encryption.

Here are some of my headers I am using:

     RESPONSE.setHeader("Content-Length",len(pdf))
     RESPONSE.setHeader('Content-Type', 'application/pdf')
     RESPONSE.setHeader('Content-disposition','inline; 
filename="%s.pdf"' % ("druck"))

These Header *work* in an unencrypted connection.


regards,
Sascha

[...]

Re: Serving PDF with pound and Zope fails for IE5.5/IE6
"Simon Matter" <simon.matter(at)ch.sauter-bc.com>
2003-12-16 09:45:37 [ FULL ]
>[...][...][...][...][...]


IIRC Pound has nothing to do with it. IE behaves different when using http
or https. I had the same problem with downloading CSV files from a
Squirrelmail plugin.

Simon
[...]

Re: Serving PDF with pound and Zope fails for IE5.5/IE6
Robert Segall <roseg(at)apsis.ch>
2003-12-16 11:49:20 [ FULL ]
On Tuesday 16 December 2003 09:24, Sascha Gresk wrote:[...]

I assure you Pound does NOT modify these headers (look at the source to 
convince yourself).

I suggest you try an SSL connection via stunnel to verify that indeed this is 
an issue of IE/HTTPS rather than Pound.[...]

MailBoxer