Thanks for the hint. I controlled the mime types and they include application/pdf
But : the wget -S shows that the server sends the pdf output file from the collection extension with the header : text/html and not application/pdf as one should expect. The link to download the pdf book generated from the collection extension is : http://localhost/~dirkdemuynck/mediawiki/index.php?title=Speciaal:Collectie/download/&collection_id=2b1a8df3fad757ff&writer=rl&return_to=Speciaal%3ACollectie What should I do to have this send from the server with the correct header ? Dirk On Oct 13, 10:49 pm, Jim Tittsler <[email protected]> wrote: > 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 > > documenthttp://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 -~----------~----~----~----~------~----~------~--~---
