Closed timespace314 closed 3 months ago
proxy = httpcore.HTTPProxy(proxy_url="http://127.0.0.1:9091/") headers = {"Host": "www.encode.io"} extensions = {"sni_hostname": "www.encode.io"} proxy.request("GET", "https://185.199.108.153/", headers=headers, extensions=extensions)
pool = httpcore.ConnectionPool() headers = {"Host": "www.encode.io"} extensions = {"sni_hostname": "www.encode.io"} pool.request("GET", "https://185.199.108.153/", headers=headers, extensions=extensions)
Does not work (No TLS SNI sent to endpoint)
Works