Home | History | Annotate | Download | only in http

Lines Matching refs:check_hostname

1365                      check_hostname=None):
1369 check_hostname is not None):
1371 warnings.warn("key_file, cert_file and check_hostname are "
1379 if check_hostname is None:
1380 check_hostname = context.check_hostname
1381 if check_hostname and not will_verify:
1382 raise ValueError("check_hostname needs a SSL context with "
1387 self._check_hostname = check_hostname
1401 if not self._context.check_hostname and self._check_hostname: