Skip to content

Commit

Permalink
Add Caching section in compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
karpetrosyan committed Sep 28, 2023
1 parent 5d32e4c commit 102ba67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ Besides, `httpx.Request()` does not support the `auth`, `timeout`, `follow_redir

If you need to mock HTTPX the same way that test utilities like `responses` and `requests-mock` does for `requests`, see [RESPX](https://github.com/lundberg/respx).

## Caching

If you're using `cachecontrol` or `requests-cache` to add HTTP Caching support to the `requests` library, [Hishel](https://github.com/karosis88/hishel) is an alternative to HTTPX.

## Networking layer

`requests` defers most of its HTTP networking code to the excellent [`urllib3` library](https://urllib3.readthedocs.io/en/latest/).
Expand Down

0 comments on commit 102ba67

Please sign in to comment.