Skip to content

Commit 79d8691

Browse files
committed
docs: mention httpx in README usage
1 parent 6649c1a commit 79d8691

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ To use this package you first need valid client credentials (see [below](#obtain
3636

3737
```python
3838
from solid_client_credentials import SolidClientCredentialsAuth, DpopTokenProvider
39-
import requests
39+
import requests # or httpx
4040

4141
client_id = 'your-id'
4242
client_secret = 'your-secret'
@@ -50,7 +50,7 @@ token_provider = DpopTokenProvider(
5050
client_id=client_id,
5151
client_secret=client_secret
5252
)
53-
# use the tokens with the requests library
53+
# use the tokens with the requests (or httpx) library
5454
auth = SolidClientCredentialsAuth(token_provider)
5555

5656
res = requests.get('https://example.org/private/stuff', auth=auth)

0 commit comments

Comments
 (0)