mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-21 07:28:52 +00:00
[networking] Add proxy_client_cert, proxy_verify and legacy_proxy_ssl_support options
This commit is contained in:
@@ -772,6 +772,10 @@ class TestClientCertificate:
|
||||
'client_certificate_password': 'foobar',
|
||||
})
|
||||
|
||||
def test_mtls_required(self, handler):
|
||||
with pytest.raises(SSLError):
|
||||
self._run_test(handler)
|
||||
|
||||
|
||||
@pytest.mark.parametrize('handler', ['CurlCFFI'], indirect=True)
|
||||
class TestHTTPImpersonateRequestHandler(TestRequestHandlerBase):
|
||||
|
||||
Reference in New Issue
Block a user