* Update compatibility.md
* Update docs/compatibility.md
* Update docs/compatibility.md
Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
Co-authored-by: Tom Christie <tom@tomchristie.com>
Co-authored-by: Florimond Manca <florimond.manca@gmail.com>
# Requests Compatibility Guide
-HTTPX aims to be compatible with the `requests` API wherever possible.
+HTTPX aims to be broadly compatible with the `requests` API.
This documentation outlines places where the API differs...
`requests` defers most of its HTTP networking code to the excellent [`urllib3` library](https://urllib3.readthedocs.io/en/latest/).
On the other hand, HTTPX uses [HTTPCore](https://github.com/encode/httpcore) as its core HTTP networking layer, which is a different project than `urllib3`.
+
+## Query Parameters
+
+`requests` omits `params` whose values are `None` (e.g. `requests.get(..., params={"foo": None})`). This is not supported by HTTPX.