[Zope] http header question

Nathaniel Wingfield NWingfield at dixon-hughes.com
Wed Jan 19 12:24:25 EST 2005


My application streams pdf files from disk (not zodb) to the user, and
I've been writing the http header more or less manually.  I've had some
strange problems with downloading - one particular third-party pdf
plugin acts as if the file can not be found, and Internet Explorer
arbitrarily, yet consistently pops the Open/Save/Cancel dialog for 1% of
files, while launching a plugin for the other 99%.

 

My header looks like this:

 

HTTP/1.1 200 OK

Server: Zope/(Zope 2.7.3-0, python 2.3.4, linux2) ZServer/1.1

Date: Wed, 19 Jan 2005 17:08:30 GMT

Content-Length: 20004

Content-Type: application/pdf

Connection: close

Content-Disposition: filename="attachment.pdf"

 

Is there anything missing or malformed that could be causing trouble?

 

Nathaniel


_______________________________________________

CONFIDENTIALITY NOTICE

This e-mail is intended only for the addressee named above.
It contains information that is privileged, confidential
or otherwise protected from use and disclosure. If you are
not the intended recipient, you are hereby notified that
any review, disclosure, copying, or dissemination of this
transmission, or taking of any action in reliance on its
contents, or other use is strictly prohibited.

If you have received this transmission in error, please
reply to the sender listed above immediately and
permanently delete this message from your inbox.

Thank you for your cooperation.
ID:[{20050119123043.24590.577798887-66.208.180.43}]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20050119/8944bf1b/attachment.htm


More information about the Zope mailing list