Thanks Marzia. I also notice an extra '=' character at the end sometimes that remains after passing the body through urllib.unquote_plus(),
This only seems to happen sometimes though so I cant just remove any '=' I find at the end of the string since '=' may validly appear in the body. Any ideas? On Nov 25, 3:33 pm, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > Hi, > > What you are looking for is urllib > unquote:http://www.python.org/doc/2.5.2/lib/module-urllib.html > > -Marzia > > On Mon, Nov 24, 2008 at 8:31 PM, tamakun <[EMAIL PROTECTED]> wrote: > > > I'm trying to read some data in the body of a POST request - > > > When I access the string using 'self.request.body' - I get an encoded > > string like 'This+is+the+string%0A%0A%3F' > > > Is there an easy way to get the decoded string? > > I also notice an extra '=' character at the end sometimes. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
