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 orsenthil
Recipients Stephen.Day, eric.araujo, orsenthil
Date 2012-02-13.07:23:46
SpamBayes Score 0.08683542
Marked as misclassified No
Message-id <1329117829.17.0.76311940509.issue13866@psf.upfronthosting.co.za>
In-reply-to
Content
Stephen - urlencode is responsible for producing the application/x-www-form-urlencoded  format, usually used in the FORMs in the web.
As per the spec, the Space characters are replaced by `+'. - 

http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4.1

What you are looking for is probably quote and quote_plus helper functions.

When I had this doubt (long back), I referred to Java's URLEncoder class to see how it was behaving and then looked at the HTML specs. It was kind of standard behavior across different libraries.  Closing this as invalid.
History
Date User Action Args
2012-02-13 07:23:49orsenthilsetrecipients: + orsenthil, eric.araujo, Stephen.Day
2012-02-13 07:23:49orsenthilsetmessageid: <1329117829.17.0.76311940509.issue13866@psf.upfronthosting.co.za>
2012-02-13 07:23:47orsenthillinkissue13866 messages
2012-02-13 07:23:46orsenthilcreate