* fix: retain httpx.URL type on request.url
This fixes a regression caused in #2020 where request.url stopped being of `httpx.URL` type, causing issues with request/response hooks.
* Update CHANGELOG.md
* tests: adding assertions to verify request.url on hooks is a httpx.URL
* fixup: adjust check to consider httpx < 0.20.0
* fixup: keep code dry
---------
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
* fix: sync response hooks being used on httpx.AsyncClient
* docs: add changelog
* docs: improved docs a bit more
* docs: fix variable name
---------
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
Co-authored-by: Shalev Roda <65566801+shalevr@users.noreply.github.com>