Leave JSON encoding to HTTPX · 1Password/connect-sdk-python@dc5e390 · GitHub
Skip to content

Commit dc5e390

Browse files
committed
Leave JSON encoding to HTTPX
This ensures that the library also includes any content-type headers, and avoids a deprecation warning (`Use 'content=<...>' to upload raw bytes/text content.`) from HTTPX.
1 parent bf1c6fa commit dc5e390

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

‎src/onepasswordconnectsdk/async_client.py‎

Lines changed: 2 additions & 3 deletions

‎src/onepasswordconnectsdk/client.py‎

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)