Chris Withers wrote at 2006-10-12 08:35 +0100:
>Peter Bengtsson wrote:
>> xml_content = open('validxmlfile.xml').read()
>> http = httplib.HTTP("localhost", 8080)
>> http.putrequest("POST", "/uploadExpenseXML")
>That's not really a valid transaction...

Why not?

The real problem is that Zope wrongfully assumes that each
"POST" with content type "text/xml" is an XML-RPC request.

That's wrong at least since XML is more widely used on the browser
side (e.g. XForms).

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

Reply via email to