harborapi icon indicating copy to clipboard operation
harborapi copied to clipboard

Expose all `httpx.AsyncClient` kwargs in `HarborAsyncClient` constructor

Open pederhan opened this issue 2 years ago • 0 comments

Tasks

  • [x] Add verify (#42)
  • [ ] Add remaining kwargs

For maximum compatibility with all the different setups out there, we should expose every httpx.AsyncClient constructor kwarg, so that users have more control over the HTTP(S) client.

Considerations

This, of course, makes it more difficult to switch to a different underlying HTTP(S) library under the hood, but there are no indications HTTPX will stop being maintained or superseded by a different library. So this seems like an acceptable change.

pederhan avatar Apr 11 '23 14:04 pederhan