Re: [Zope] cannot access POST content in Zope

2007-08-17 Thread Manuel Spuhler
Hello Martijn, many thanks for your answer Zope special-cases POST requests with content-type text/xml; it treats these as XML-RPC requests. I don't think you can work around this either. :( Ok, I see, this is bad for me :-/ Take a look at HTTPRequest.processInputs in lib/python/HTTPReque

Re: [Zope] cannot access POST content in Zope

2007-08-17 Thread Manuel Spuhler
sorry I mean empty when content-type is 'text/xml' ___ 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:

Re: [Zope] cannot access POST content in Zope

2007-08-17 Thread Manuel Spuhler
Hi Andreas, thank for your answer No idea where and how you look for the uploaded content. Everything in Zope is available from the REQUEST. And of course you can _not_ upload something to the mutator method of some object. This makes zero sense. You might write your script that takes the

Re: [Zope] cannot access POST content in Zope

2007-08-17 Thread Martijn Pieters
On 8/17/07, Manuel Spuhler <[EMAIL PROTECTED]> wrote: > but the content of the POST is empty when I do > > curl http://elevator.sytes.net/RSR/setSMS -H "Content-Type: text/xml" > -d @post.xml > > I'm working on integrating SMS on Plone, and the external system sends > me a text/xml header, text/xml

Re: [Zope] cannot access POST content in Zope

2007-08-16 Thread Andreas Jung
--On 17. August 2007 01:52:27 +0200 Manuel Spuhler <[EMAIL PROTECTED]> wrote: Hello, I am trying to record the result of a POST request sent to Plone. I can get the content of the POST when I send the file post.xml (valid xml) No idea where and how you look for the uploaded content. Eve

[Zope] cannot access POST content in Zope

2007-08-16 Thread Manuel Spuhler
Hello, I am trying to record the result of a POST request sent to Plone. I can get the content of the POST when I send the file post.xml (valid xml) curl http://elevator.sytes.net/RSR/setSMS -d @post.xml In this case, CONTENT_TYPE headers is set to 'application/x-www-form-urlencoded' by curl.