[Zope] Problem with POST and text/xml
Jonathan (dev101)
dev101 at magma.ca
Sat Jul 11 10:10:47 EDT 2009
----- Original Message -----
From: "Michael Haubenwallner" <michael at d2m.at>
To: <zope at 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).
More information about the Zope
mailing list