ulodciv / httpx-ntlm

NTLM authentication support for HTTPX.
Other
13 stars 8 forks source link

Remove unused blocking _get_server_cert call #12

Closed Dewdrops closed 1 year ago

Dewdrops commented 1 year ago

After switch to pyspnego, the result of _get_server_cert is not used any more, nor does the related utils and dependencies.

Moreover, the stdlib ssl.get_server_certificate function is in fact a blocking function, thus will block all coroutines in the same process.