Closed dorianboulch closed 5 years ago
In deed, maybe this is not the best way to do it but I think it would be very useful to have this feature. Do you have an idea about how implement it differently ?
@dorianboulch It's been a while since I've looked at proxy support (discussed in #53 and #73, in part). You could take a look at https://gist.github.com/markpol/d92918d21612f56a6548
@robocoder your solution seems to work but don't you think it should be a built-in feature ?
I don't think it requires specific knowledge about proxy settings. This is handled generically by $extraOptions
.
As Curl CLI supports http proxy via environment variable, we should add a curl opt when this variable is present. This could be improved by adding authentication support later.