If I have %20 in URL before, it ends up with + in the code.
url='http://www.example.com?param=a%20b'
url=URL(url)
url=url.copy_merge_params(params={})
In QueryParams.str it's invoking urlencode() without any additional arguments. Is there a way to stop this behaviour short of manipulating URLs only without using any params for AsyncClient.request()?
in my knowledge, i think you can override from the
URLbehavior class or you can also do it manually by encoding the query parameters and replacing the"+"characters with the value of"%20"to retain the original URL. afterwards, you can make a request by callingAsyncClient.request()the URL appending process is indeed done manually and this possibility doesnt cover some other edge cases according to your needs. Hope this helps