On Tue, Oct 13, 2009 at 22:57, Dirk <[email protected]> wrote: > - in the case of a pdf file, it displays the pdf-file content in the > browser. I mean not rendered but the text content of the generated > file, which starts like : %PDF-1.3 %“Œ‹ž ReportLab Generated PDF > document http://www.reportlab.com
It suggests your web server does not associate PDF files with the type application/pdf. I would expect any recent web server to already include the: application/pdf pdf mapping in its mime.types file, but you may want to double check yours. (Using a tool like Firebug or wget's -S switch will let you see the content type header your server is providing for PDF files if you want to confirm.) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mwlib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mwlib?hl=en -~----------~----~----~----~------~----~------~--~---
