A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-August/121365.html below:

[Python-Dev] Should urlencode() sort the query parameters (if they come from a dict)?

[Python-Dev] Should urlencode() sort the query parameters (if they come from a dict)? [Python-Dev] Should urlencode() sort the query parameters (if they come from a dict)?Daniel Holth dholth at gmail.com
Fri Aug 17 21:41:36 CEST 2012
Only if it is not an OrderedDict

>         query = sorted(query.items())
>
> This would not prevent breakage of unit tests, but it would make a
> much simpler fix possible: simply sort the parameters in the URL.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4