class_docstr: A new HTTPAdapter which honors the ServerName as a value for the verify arg.
class_docstr_tok: ["A","new","HTTPAdapter","which","honors","the","ServerName","as","a","value","for","the","verify","arg","."]
code: def cert_verify(
      self, conn: Any, url: Any, verify: Any, cert: Any
  ) -> None:
      super().cert_verify(conn, url, verify, cert)  # type: ignore
      if self.server_hostname is not None:
          # Set the server_hostname value of the urllib3 connection.
          conn.assert_hostname = self.server_hostname
  
file_path: determined/harness/determined/common/requests.py
imports: from typing import Any, Optional
  import requests
  import urllib3
label_desc: Use image node_id 2 for calling the HTTPAdapter obj's underlying member method code with example usage: obj.cert_verify(conn, url, verify, cert) without return types