no.. I meant something more along the lines of this controller action
that I've since got working in 0.9:

    def mirror(self):
        body = request.environ['paste.parsed_formvars'][0]['__body__']
        return response(body)

This will return a response with the same body as the body given in the
request... this example was written as a test in getting at the raw
input given in a POST.

So, Now I will be writing a similar action, except this one will of
course interpret the POST's body and respond with its own body.

The question I have now, is there a better way to get at the request's
body, then how I have done above?  Because, attempting to read from
request.body will just hang...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to