[Twisted-Python] twisted.web2 and blank values in POST

Sylvain Thénault sylvain.thenault at logilab.fr
Wed Sep 13 11:58:23 EDT 2006

On Wednesday 13 September à 11:45, Jean-Paul Calderone wrote:
> On Wed, 13 Sep 2006 17:28:04 +0200, Sylvain Thénault 
> <sylvain.thenault at logilab.fr> wrote:
> >Hi there,
> >
> >I've found a strange behaviour in twisted web2'server : the behaviour with 
> >blank values
> >in form parameters is not consistent between GET and POST: on GET blank 
> >values are kept while
> >this is not the case on POST. I'ld have expected blank values to be kept 
> >on POST as well. Is this
> >a bug or an expected behavour ?
> >
> >
> >PS: if this is a bug, an easy fix is to add keep_blank_values=True to the
> >fileupload.parse_urlencoded call in server.py line 91.
> Hi.  You might want to post this to the twisted-web mailing list, instead.

oops, good point. I've just bounced it on the web list, thx !

Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Python et calcul scientifique:           http://www.logilab.fr/science

More information about the Twisted-Python mailing list