purescript-contrib/purescript-affjax

Affjax + HttpProxy Configuration

Opened this issue · 2 comments

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.

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!