Any idea why XMLHttpRequest
with correct credentials in Pebble JS Framework
fails basic authentication on Android but works in iOS?
Exactly the same code, along the lines of:
var req = new XMLHttpRequest();
req.open(method, url, true, user, pass);
req.send(data);
req.onreadystatechange = function() { ... }
Returns 401 in from Android Pebble app, but authenticates correctly in iOS.