[reportlab-users] Returning PDF to a browser?

David Fraser reportlab-users@reportlab.com
Mon, 01 Dec 2003 08:27:23 +0200

Andy Robinson wrote:

>>You should also check for Internet Explorer that the URL actually ends 
>>with a .pdf  as it sometimes seems to get the type from the extension 
>>rather than the Content type in my experience
>When I first started doing this 3 years ago, the raw PDF would often 
>display as you describe.  Changing executable cgi scripts from
>'myapp.cgi' to 'myapp.pdf' was more effective than headers.
>However, I have seen this less often in the last 2 years. 
>It would be good to collect some data on this.
>Can you repeat the problem with a particular version of IE?
>Have you tried other browsers?
>Andy Robinson
Hi Andy

Yes, this seems to happen with IE 5, and most people have upgraded.
It's mostly on our clients machines we have the problem, if I can work 
it out I'll post more details here