(is_sync: bool)
| 76 | BLOCKING_IO_LOOKUP_ERROR = BLOCKING_IO_READ_ERROR |
| 77 | |
| 78 | def _has_sni(is_sync: bool) -> bool: |
| 79 | if is_sync and HAVE_PYSSL: |
| 80 | return _pyssl.HAS_SNI |
| 81 | return _ssl.HAS_SNI |
| 82 | |
| 83 | def get_ssl_context( |
| 84 | certfile: Optional[str], |
no outgoing calls
no test coverage detected