[Zope] XML + HTTP == XML-RPC

Toby Dickenson tdickenson@geminidataloggers.com
Mon, 5 May 2003 10:17:24 +0100


On Sunday 04 May 2003 11:08 pm, Toni Andjelkovic wrote:
> Hi,
>
> I'm using Zope 2.6.1 with ZServer listening to port 80. I need
> to receive XML documents via HTTP POST.
>
> Unfortunately, ZPublisher assumes that POST requests with a
> content-type of "text/xml" must be XML-RPC, so it tries to
> parse them accordingly, which fails.
>
> I'd be grateful for suggestions on how to solve this elegantly.

Do you need to support xmlrpc as well? If not, just hack your source to remove 
that special case.


-- 
Toby Dickenson
http://www.geminidataloggers.com/people/tdickenson