Couchdb jquery api add Authorization Header
问题 I want add the Authorization Header to the login request. I try to do that with the code: function dblogin (credential){ $.couch.login({ name:credential.name, password:credential.password, headers: {'Authorization': 'Basic ...'}, success: function (data){console.log("loggato con successo!");}, error: function(status) {console.log("login non riuscito!" + status);} }); } But I see that into HTTP request header the field Authorization is not present. Why? 回答1: From the source code of jquery