[issue18857] urlencode of a None value uses the string 'None'
Joshua Johnston
report at bugs.python.org
Mon Sep 16 16:48:56 CEST 2013
Joshua Johnston added the comment:
I know that languages like php will treat ?josh= the same as ?josh
Using the attached test form in Google Chrome, you will see the data passed as josh= when empty in both GET and POST requests. This is probably the way to go, key=str(value) if value is not None else ''
----------
Added file: http://bugs.python.org/file31798/test.html
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18857>
_______________________________________
More information about the Python-bugs-list
mailing list