Add global redirection control

copied from https://github.com/wymsee/cordova-HTTP/pull/137
This commit is contained in:
Martin Kasa
2017-09-29 14:36:00 +02:00
parent 66dc8ff2ca
commit a4a6440bcb
14 changed files with 65 additions and 0 deletions
+3
View File
@@ -59,6 +59,9 @@ function registerService(http) {
acceptAllCerts: function (allow) {
return makePromise(http.acceptAllCerts, [allow]);
},
disableRedirect: function(disable) {
return makePromise(http.disableRedirect, [disable]);
},
validateDomainName: function (validate) {
return makePromise(http.validateDomainName, [validate]);
},