On 31.07.2009, at 16:36, sokai wrote:
> At first here is the URL for my MW installation. Feel free to test...
> http://sturafb5.fh-potsdam.de/wiki/

Thanks.

> The Content-Type for the generated PDF is "text/html; charset=UTF-8" -
> so
> that's def. wrong!

Yes, that's the problem. Most probably it has something to do with the  
MediaWiki/PHP/webserver/proxy(?) setup: The PHP code should return the  
correct response headers, but somewhere in the path from there, over  
the web server to the client, the response headers get overwritten/ 
exchanged. Unfortunately I have no idea, where or why this happens.

> Anothter thing is:
> I looked at the code of the extension files and couldn't find the text
> "application/pdf".
> Doesn't Collection generate the header of the PDF...?

It's set by Python code in mwlib which provides the render server. The  
value from there is merely passed-through in Collection.body.php (line  
882 in the current SVN revision).

-- Johannes Beigel


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to