Graham Dumpleton
graham.dumpleton at gmail.com
Mon Jun 9 08:20:48 EDT 2008
Ensure you are setting content type for response. Graham 2008/6/9 <Dominique.Holzwarth at ch.delarue.com>: > > Hi all > > I recently got the error that the browser doesn't display the server > response generated by some python scripts anymore but instead I get a "File > Download" Pop-up with: > > Name: myFileName.py > Type: py_auto_file > From: server-name > > That behaviour does NOT apply to every script so I guess there must be > something wrong with certain scripts that confuse apache/mod_python? Or > could it maybe have something to do with the apache configuration > (mentioning it because I adjusted it slightly)? > > Would be nice if someone has an idea what could cause this strange > behaviour… :-/ > > Greetings > Dominique > > ***************************************************************************** > This e-mail and any files attached are strictly confidential, may be legally > privileged and are intended solely for the addressee. If you are not the > intended recipient please notify the sender immediately by return email and > then delete the e-mail and any attachments immediately. > > The views and or opinions expressed in this e-mail are not necessarily the > views of De La Rue plc or any of its subsidiaries and the De La Rue Group > of companies, their directors, officers and employees make no representation > about and accept no liability for its accuracy or completeness. > > You should ensure that you have adequate virus protection as the De La Rue > Group of companies do not accept liability for any viruses. > > De La Rue plc Registered No.3834125, De La Rue Holdings plc Registered > No 58025 and De La Rue International Limited Registered No 720284 are all > registered in England with their registered office at: > De La Rue House, Jays Close, Viables, Hampshire RG22 4BS > ***************************************************************************** > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python > >
|