----- Original Message ----- From: "Michael Haubenwallner" <mich...@d2m.at> To: <zope@zope.org> Sent: Saturday, July 11, 2009 9:51 AM Subject: Re: [Zope] Problem with POST and text/xml
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Jonathan (dev101) wrote: >> I need to support a third party web service (which is not within my >> control) >> that wants to send xml data to my zope server (Zope 2.9.2 running on >> Redhat >> linux). >> >> When Zope receives a POST request with a Content-Type of text/xml it >> assumes >> that it is an xmlrpc call (which it is not - it is just passing xml data >> within the POST request). >> >> Is there a way to get Zope to turn off this "xmlrpc assumption" so that >> my >> zope external method can process the xml data that is being passed? >> > > Did you think of using 'application/xml' instead of 'text/xml' ? > Everything should work as expected. > > Regards > Michael The POST requests are coming from a third party web service (which we don't control, and they have lots of other users) and they won't change the content-type just for us to work around a zope bug (sigh). _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )