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

Jean-Paul Calderone exarkun at divmod.com
Wed Sep 13 17:44:49 CEST 2006


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.

Jean-Paul



More information about the Python-list mailing list