You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would be great for us to support httpx cli, but with the HTTP caching layer.
We could have our own cli entry point, which is going to be hishel,
and we can just take the existing httpx cli and change the Client class to CacheClient, and that's it.
We should try to do this without sticking to the particular HTTPX version, so we can be sure that by adding this feature, we are not making the development process more complicated.
I guess for the start we could just mock the httpx module because httpx cli does not support client injecting.
I think it would be great for us to support httpx cli, but with the HTTP caching layer.
We could have our own cli entry point, which is going to be
hishel
,and we can just take the existing
httpx
cli and change theClient
class toCacheClient
, and that's it.We should try to do this without sticking to the particular
HTTPX
version, so we can be sure that by adding this feature, we are not making the development process more complicated.I guess for the start we could just mock the
httpx
module because httpx cli does not support client injecting.Examples:
Instead of
do
The text was updated successfully, but these errors were encountered: