[mod_python] FW: util.FormStorage empty values issue

Gregory (Grisha) Trubetskoy grisha at verio.net
Thu Mar 8 10:21:20 EST 2001


That's the way the standard library FieldStorage performs, so I thought
I'd keep it consistent.

Grisha

On Thu, 8 Mar 2001, Petar Karafezov wrote:

> actually, I just found out the keep_empty_value set to 0 in util.py. I
> changed the value to 1 and recompiled it. Now everything seems to be working
> fine. Was there any reason keep_empty_value was set to 0 ? Did I changed the
> library the right way ?
>
> THanks for your help!
>
> Regards,
> Petar Karafezov
>
> -----Original Message-----
> From: Petar Karafezov
> Sent: Wednesday, March 07, 2001 6:50 PM
> To: mod_python at modpython.org
> Subject: util.FormStorage empty values issue
>
>
> Hiya all -
>
> I'm using Apache/1.3.14 (Unix) mod_python/2.7.2 Python/2.0 and I seem to be
> having a little issue when values from a form is '' (empty string). When the
> value is '' they key itself does not get passed as a part of what
> util.FormStorage returns.
>
> Any ideas of how to get around this ?
>
> Regards and thanks for the help,
> Petar Karafezov
>
> MetaMarkets.com
> 415-575-3015
> -------------------------------------------
> Investing Out Loud at
> http://www.metamarkets.com
> -------------------------------------------
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python
>




More information about the Mod_python mailing list