[mod_python] Mod-Python Help

Gavin Panella gavin at premolo.com
Mon Sep 4 15:21:47 EDT 2006


> 		req.content_type = "application/xml"

I think it should be text/xml rather than application/xml. See:

  http://developer.apple.com/internet/webcontent/xmlhttpreq.html

"Note: It is essential that the data returned from the server be sent with a 
Content-Type set to text/xml. Content that is sent as text/plain or text/html 
is accepted by the instance of the request object however it will only be 
available for use via the responseText property."

-- 
Premolo Sàrl
Web: http://www.premolo.com/ ; Tel: +352 26687161 ; GSM: +352 091739359
42 rue du Kiem, L-1857 Luxembourg, Grand-Duché du Luxembourg



More information about the Mod_python mailing list