GitHub で見る
 (4 comments) (0 reactions) (0 assignees)JavaScript (137 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (656 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

URLS with basic auth. are not working right

like https://username:password@domain/mainfest.json

Found one issue in the bootstrap.js xhr.setRequestHeader("Authorization", "Basic ...);

is missing.

Also the cordova file loader does not set the right headers for downloading

authHeaderValue = function(username, password) {
    var tok = username + ':' + password;
    var hash = btoa(tok);
    return "Basic " + hash;
};

options.headers = {'Authorization': authHeaderValue('Bob', '1234') };

コントリビューターガイド