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
Edward Pollard wrote at 2005-3-7 11:45 -0700:
... 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.
Looks like a need to debug how "LocalFS" determines the mime type... -- Dieter
participants (2)
-
Dieter Maurer -
Edward Pollard