def _set_proxy_headers(
        self, url: str, headers: typing.Mapping[str, str] | None = None
    ) -> typing.Mapping[str, str]:
        """
        Sets headers needed by proxies: specifically, the Accept and Host
        headers. Only sets headers not provided by the user.
        """
        headers_ = {"Accept": "*/*"}

        netloc = parse_url(url).netloc
        if netloc:
            headers_["Host"] = netloc

        if headers:
            headers_.update(headers)
        return headers_

        Sets headers needed by proxies: specifically, the Accept and Host
        headers. Only sets headers not provided by the user.
        
Solutions/CyberArkAudit/Data Connectors/.python_packages/lib/site-packages/urllib3/poolmanager.py