[mod_python] Problems with req.content_type and req.sendfile in IE, but Opera/Mozilla works.

Ole Jacob Hagen waterthrill at yahoo.no
Wed Sep 8 10:34:33 EDT 2004


I need a workaround for the Internet Explorer browser as this code 
doesn't works:
%% snip of my psp-code %%
    fpdf = PDF_PATH + "/" + "pdf.pdf"
    req.content_type = 'application/pdf'

%% end of snip %%

Yes, it works in Opera, konqueror, and Firefox, but not in Internet 
There has to be a workaround for this? There are some companies that 
never will follow a standard....


Ole J.

More information about the Mod_python mailing list