[mod_python] PSP handler forces content_type text/html ; can this be overridden?

Sidney Cadot sidney.cadot at jigsaw.nl
Sat Mar 22 16:09:55 EDT 2008


Hi all,

I'm trying to use mod_python's PSP handler to emit XHTML (content-type:
"application/xhtml+xml"). Unfortunately, the PSP implementation forces the
request's content_type to "text/html".

Is there a way to override this? A casual look at psp.py suggests not. 

Regards, Sidney




More information about the Mod_python mailing list