request.body holds the body. there's no difference between running web2py with the internal webserver or hosting it in a wsgi capable "runner".... the internal webserver is just a pure-python wsgi "runner", so all moving parts are exactly the same. Are you sure that your deployed app is deployed correctly ?
On Friday, April 5, 2013 11:45:44 PM UTC+2, Jes M wrote: > > Hi all: > > I'm trying to expose a function for incoming HTTP POST with a XML message > in the body. I use "request.body.read()" to read the XML (as I read in > http://www.web2py.com/AlterEgo/default/show/197. When I test the code > with curl everything works, but when I test it in a production environment > it seems like there is no body or this comes empty. > > I've read in somewhere that wsgi could not fill the "body" but I don't > remember when, maybe when there are codification issues... I'm not sure. > > Is there any way to check the content of the HTTP message in order to see > if there is a body or not? > > Any other clue or thing to debug this? > > Thanks in advance, > > Jes > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

