Problem:  zope interprets POST requests with a Content-Type of "text/xml" to 
be xmlrpc requests.

Work-around (requires Apache as a reverse proxy): use Apache to re-write the 
Content-Type header of the incoming request before it gets to zope using the 
following directives:

SetEnvIfNoCase Content-Type "text/xml" XMLFLAG
RequestHeader set Content-Type "application/xml" env=XMLFLAG

Zope then sees "text/xml" requests as "application/xml" requests and the xml 
data can then be accessed via "REQUEST['BODY']".

Thanks to Michael H. for the assistance!


Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to