httpie 2.3.0 ignores both the --proxy flag and the HTTP_PROXY variable. The request succeeds but is made directly instead of through the proxy.
Examples:
http --verify=no --proxy=http:http://127.0.0.1:6666 URL foo=bar
HTTP_PROXY=http://127.0.0.1:6666 http --verify=no URL foo=bar
I also tried passing the arguments without = but the result is the same. The equivalent curl command works and is registered in the proxy:
curl -k --proxy http://127.0.0.1:6666 --data foo=bar URL
Has anyone ever encountered this? Where should I look next? I searched through existing issues but nothing popped up. I also tried running the command with --debug -v and sure enough, there's no mentions of proxies in the output:
>>> requests.request(**{'auth': None,
'data': '{"foo": "bar"}',
'headers': {'User-Agent': b'HTTPie/2.3.0', 'Accept': b'application/json, */*;q=0.5', 'Content-Type': b'application/json'},
'method': 'post',
'params': <generator object MultiValueOrderedDict.items at 0x7f1ff6d28c80>,
'url': 'https://...'})
httpie 2.3.0 ignores both the
--proxyflag and theHTTP_PROXYvariable. The request succeeds but is made directly instead of through the proxy.Examples:
I also tried passing the arguments without
=but the result is the same. The equivalent curl command works and is registered in the proxy:Has anyone ever encountered this? Where should I look next? I searched through existing issues but nothing popped up. I also tried running the command with
--debug -vand sure enough, there's no mentions of proxies in the output: