I currently have a Palm WebOS application that uses an Ajax.Request to connect to a web service using basic authentication. To send the username and password, I simply inclu
You could try to encode the user name and password before they get sent using encodeURIComponent.
More generally though, have you tested this method in IE8? Because it doesn't work for normal requests any more - the username:password@
scheme has been disabled there for security reasons.
It could be, though, that they are still allowed in Ajax requests.
Send the Basic authentication info with header: http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html
var auth = 'Basic ' + Base64.encode(user + ':' + pass);
Ext.Ajax.request({
url : url,
method : 'GET',
headers : { Authorization : auth }
});