Charles Collis
charles.collis at gmail.com
Sun Jan 27 14:38:44 EST 2008
Hi. I wonder if anyone can help - I am having problems getting the Publisher handler to return nothing. I am wanting the publisher handler to return nothing when clicking on a link that points to a particular function which will perform a system command, and I am using the recommended 'raise apache.SERVER_RETURN, apache.OK' trick. This does indeed stop the page contents refreshing, but has the odd side-effect of the browser asking wanting to download a file (of 'python script' type). This behaviour happens in both Firefox 3 beta2 and Konqueror. It even does it if the function doesn't do anything: def launch(): pass raise apache.SERVER_RETURN, apache.OK I am running Ubuntu Gutsy. Apache and mod_python details: Apache/2.2.4 (Ubuntu) mod_python/3.3.1 Python/2.5.1 PHP/5.2.3-1ubuntu6.3 Any pointers appreciated. Thanks. Charles Collis. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20080127/0cbe9d58/attachment.html
|