This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author William.Wu
Recipients William.Wu, georg.brandl, orsenthil, vstinner
Date 2011-02-02.17:08:18
SpamBayes Score 2.9828969e-05
Marked as misclassified No
Message-id <1296666499.37.0.0569557531053.issue11082@psf.upfronthosting.co.za>
In-reply-to
Content
If the POST data should be bytes which I also think reasonable,

should urllib.parse.urlencode return bytes instead of str?

>>> urllib.parse.urlencode({'foo': 'bar'})
'foo=bar'
>>> urllib.parse.urlencode({b'foo': b'bar'})
'foo=bar'
History
Date User Action Args
2011-02-02 17:08:19William.Wusetrecipients: + William.Wu, georg.brandl, orsenthil, vstinner
2011-02-02 17:08:19William.Wusetmessageid: <1296666499.37.0.0569557531053.issue11082@psf.upfronthosting.co.za>
2011-02-02 17:08:18William.Wulinkissue11082 messages
2011-02-02 17:08:18William.Wucreate