TwistedのProxyAgentクラスを使用してプロキシサーバーに接続し、HTTPリクエストを作成しようとしていますが、サーバーにはユーザー名とパスワードが必要です。ProxyAgentを使用してこれらの資格情報をサーバーに指定することは可能ですか?
endpoint = TCP4ClientEndpoint(reactor, host, port)
agent = ProxyAgent(endpoint)
# Maybe need to pass auth credentials in the header here?
body = agent.request("GET", path)