[Zope] Problem with POST and text/xml
dev101 at magma.ca
Sat Jul 11 14:24:55 EDT 2009
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Jonathan (dev101) wrote:
>> Just out of curiosity I ran a test using content-type of
>> and zope does not raise the xmlrpc error (as it does with content-type of
>> 'text/xml'), but the POST content is not available within the REQUEST
>> This appears to be the same problem that I encountered using a
>> of 'text/xml' with the xmlrpc test turned off (ie. no xmlrpc error, but
>> POST data).
> Look into REQUEST['BODY']
Most excellent, thanks!
I am now investing the possibility of using the RequestHeader directive of
the Apache mod_header module to rewrite the content-type from "text/xml" to
"application/xml" (we use Apache as a reverse proxy in front of zope).
If i get it to work I'll post the work-around...
More information about the Zope