Open btrepp opened 5 years ago
Has anyone found a suitable workaround? How to use affjax
under node if a proxy is required to connect to the internet? Thanks in advance!
spago
is now also effected by this:
https://github.com/purescript/spago/blob/f0f79015f419aa015bfb4433968a5cbab9308e94/src/Spago/Command/Fetch.purs#L228
When running under node, I don't think affjax+xhr2 is using a http proxy.
Looking at xhr2, they seem to have added some support, but I don't 100% understand how that coffeescript reads. This is outside of the realm of affjax I think, especially if it's possible to set it up via a 'global' IO action on the xhr2 object.
I've opened this issue mainly for documentation, and for any poor souls who are trying to use this combination behind a http proxy.