auth is broken #9

Closed
elarcent opened this Issue Jun 16, 2012 · 1 comment

Comments

Projects
None yet
2 participants

I've found that URLs that require authorization(http://user:pass@url.com) are not requested properly.
I had to disable

        if (url.auth) {
            console.log('Brokern Auth!');
            opt.headers.authorization = new Buffer(url.auth).toString('base64');
        }

in tools.js, and to add simple

opt.auth = url.auth;

few strings above, to make it work properly

Owner

SaltwaterC commented Jun 17, 2012

Thank you for taking the time to explain the issue. The fix was merged in the future v0.4.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment