I realize that tcp dumps are almost unreadable on google groups webpages without a fixed font. Here is a web-readable version of the http dumps:
http://pylonshq.com/pasties/eb5a1799ff9786f8cf643069fb08552a I hope that someone can help me. I suspect a Pylons bug somewhere. Cheers, On Oct 21, 12:35 am, Adrien <[email protected]> wrote: > Hi, > > I'm trying to wrap a wsgi application into Pylons. The wsgi is the > bazaar (bzr) server, a dvcs like mercurial or git. > Anyway I first tried a simple wsgi application with gunicorn and it > worked very well but so far my efforts to use Pylons were > unsuccessfull. > > From what I understand, the bzr client sends POST request with an > unencoded form, pretending to be x-www-form-encoded. > This unencoded form is transmitted as is by gunicorn to the wsgi > application via environ['wsgi.input']. This makes the bzr server > happy. > > When using Pylons the environ['wsgi.input'] variable contains an > encoded string that looks like urlencoded. However using > urllib.unquote_plus does not manage to translate the string back to > what was originally transmitted. > > Below is an example of the problem. There seems to be some alterations > of the original POST body. > Is there a way to correcly decode the strings or even not having > Pylons (or any of its components) encode it first ? > -- 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?hl=en.
