MCPcopy
hub / github.com/urllib3/urllib3 / set_ciphers

Method set_ciphers

src/urllib3/contrib/pyopenssl.py:457–460  ·  view source on GitHub ↗
(self, ciphers: bytes | str)

Source from the content-addressed store, hash-verified

455 self._ctx.set_default_verify_paths()
456
457 def set_ciphers(self, ciphers: bytes | str) -> None:
458 if isinstance(ciphers, str):
459 ciphers = ciphers.encode("utf-8")
460 self._ctx.set_cipher_list(ciphers)
461
462 def load_verify_locations(
463 self,

Callers 2

original_ssl_wrap_socketFunction · 0.80
create_urllib3_contextFunction · 0.80

Calls

no outgoing calls

Tested by 1

original_ssl_wrap_socketFunction · 0.64