mikeal/request — Issue #160: Basic Auth Fail
Author: CrabDude
Created: 2012-01-20 21:49:00+00:00
State: open

Where curl succeeds:

curl -L https://XXXX:XXXX@build.phonegap.com/api/v1/apps/63320/android

request fails:

var request = require('request'),
url = require('url'),
uri = url.parse('https://XXXX:XXXX@build.phonegap.com/api/v1/apps/63320/android');

console.log(uri);
request({url: uri}, function(err, res) {
console.log(res);
});

=(