For my ajax call, I have been attempting to set the Authorization header. While it works perfectly fine in all browsers, it seems to be causing trouble on Blackberry 4.6.
Has anyone else encountered this issue and found a solution? It's quite frustrating because the documentation mentions headers that are not allowed, but doesn't specify anything about this particular one!
Just to clarify, I am trying to achieve this with a website, not using webworks.
The code snippet I am working with looks something like this:
$.ajax({
url: path,
headers: {
Authorization: 'Basic ' + btoa(username + ':' + password)
},
...
});