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-July/120901.html below:

[Python-Dev] cpython (3.2): Fix issue14826

[Python-Dev] cpython (3.2): Fix issue14826 - make urllib.request.Request quoted url consistent with [Python-Dev] cpython (3.2): Fix issue14826 - make urllib.request.Request quoted url consistent withAntoine Pitrou solipsis at pitrou.net
Sun Jul 8 02:27:46 CEST 2012
>  
> +    def test_quote_url(self):
> +        Request = urllib.request.Request
> +        request = Request("http://www.python.org/foo bar")
> +        self.assertEqual(request.full_url, "http://www.python.org/foo%20bar")
> +

This means someone who already quotes URL will get a double escaping,
right?

Regards

Antoine.


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