]> git.ipfire.org Git - thirdparty/httpx.git/commit
Cleanup URL percent-encoding behavior. (#2990)
authorTom Christie <tom@tomchristie.com>
Fri, 15 Dec 2023 11:35:16 +0000 (11:35 +0000)
committerGitHub <noreply@github.com>
Fri, 15 Dec 2023 11:35:16 +0000 (11:35 +0000)
commita11fc3849b94157274c98d99501acad05cbfb221
tree07503dc381d4178a5fe5fb450ff65d3773bc1844
parent3b9060ee1121b48669e0b30045c9344065f4f2ae
Cleanup URL percent-encoding behavior. (#2990)

* Replace path_query_fragment encoding tests

* Remove replaced test cases

* Fix test case to use correct hex sequence for 'abc'

* Fix 'quote' behaviour so we don't double-escape.

* Add '/' to safe chars in query strings

* Update docstring

* Linting

* Update outdated comment.

* Revert unrelated change

---------

Co-authored-by: Kar Petrosyan <92274156+karpetrosyan@users.noreply.github.com>
httpx/_urlparse.py
tests/models/test_url.py