encode / httpx

A next generation HTTP client for Python. 🦋
https://www.python-httpx.org/
BSD 3-Clause "New" or "Revised" License
12.7k stars 811 forks source link

Authentification docs reference non-existing class #3203

Open alexprengere opened 1 month ago

alexprengere commented 1 month ago

The auth docs reference httpx.BasicAuthentication() 3 times, but this class does not exist, it should be replaced with httpx.BasicAuth().

tomchristie commented 4 weeks ago

Oh thanks for noticing. Would you like to submit a PR resolving this?

alexprengere commented 4 weeks ago

It looks like such a PR was already merged: https://github.com/encode/httpx/pull/3112/files There is also a discussion about this: https://github.com/encode/httpx/discussions/3137 So most likely the docs are just not up-to-date with the repository, as perhaps this depends on a new release being done.