Ⅰ. はじめに タイトルの通り「Pythonでhttpxを利用してHTTPリクエストする方法」です。 Ⅱ. サンプルプログラム # pip install httpx[socks] import httpx proxy = 'http://127.0.0.1:8008' # proxy = 'socks5://user:pass@host:port' client = httpx.Client(proxies=proxy, verify=False) # GETする response = client.get('https://example.org/') print(response.hea…