tus / tus-py-client

A Python client for the tus resumable upload protocol
https://tus.io/
MIT License
169 stars 45 forks source link

Make certificate validation configurable #51

Closed Matoking closed 2 years ago

Matoking commented 2 years ago

Disabling TLS certificate validation can be necessary in some environments (eg. testing). Add a verify keyword argument that allows the verification to be disabled.

The current implementation only accepts a boolean argument. Both requests and aiohttp allow defining a custom CA bundle, which can be implemented later if needed.

Fixes #30