[Zope] LocalFS 1.3 and PDF Mime Types

Edward Pollard pollej at uleth.ca
Mon Mar 7 13:45:16 EST 2005


We're having problems with PDF files server via Zope and LocalFS 1.3 
(andreas).

Mime types for the PDFs come back with surprising irregularity. Given a 
directory of PDFs, returned Mime types are one of:

text/html
text/plain
application/pdf

(only a few come back as application/pdf)

If I explicitly add:
.pdf application/pdf File

to the type_map property, it will change the Mime types for a few - but 
only a few - of the PDFs that were coming back wrong. For the most 
part, the PDFs still get served with the wrong Mime type.

Thoughts?

---
Edward J. Pollard, B.Sc
Webmaster, University of Lethbridge




More information about the Zope mailing list