mirror of
https://github.com/silkimen/cordova-plugin-advanced-http.git
synced 2026-01-31 00:00:03 +08:00
@@ -1,16 +1,13 @@
|
|||||||
|
|
||||||
# EditorConfig helps developers define and maintain consistent
|
# EditorConfig helps developers define and maintain consistent
|
||||||
# coding styles between different editors and IDEs
|
# coding styles between different editors and IDEs
|
||||||
# editorconfig.org
|
# editorconfig.org
|
||||||
|
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
|
|
||||||
# Change these settings to your own preference
|
# Change these settings to your own preference
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 2
|
||||||
|
|
||||||
# We recommend you to keep these unchanged
|
# We recommend you to keep these unchanged
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
@@ -19,4 +16,4 @@ trim_trailing_whitespace = true
|
|||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
|
|
||||||
[*.md]
|
[*.md]
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## v1.9.0
|
||||||
|
|
||||||
|
- Feature #44: "getCookieString" method is exposed
|
||||||
|
|
||||||
## v1.8.1
|
## v1.8.1
|
||||||
|
|
||||||
- Fixed #27: "uploadFile" method doesn't return data object on iOS (thanks Faisalali23 and laiyinjie)
|
- Fixed #27: "uploadFile" method doesn't return data object on iOS (thanks Faisalali23 and laiyinjie)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cordova-plugin-advanced-http",
|
"name": "cordova-plugin-advanced-http",
|
||||||
"version": "1.8.1",
|
"version": "1.9.0",
|
||||||
"description": "Cordova / Phonegap plugin for communicating with HTTP servers using SSL pinning",
|
"description": "Cordova / Phonegap plugin for communicating with HTTP servers using SSL pinning",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"testandroid": "./scripts/build-test-app.sh --android --emulator && ./scripts/test-app.sh --android --emulator",
|
"testandroid": "./scripts/build-test-app.sh --android --emulator && ./scripts/test-app.sh --android --emulator",
|
||||||
|
|||||||
@@ -177,7 +177,10 @@ var http = {
|
|||||||
removeCookies: function (url, callback) {
|
removeCookies: function (url, callback) {
|
||||||
cookieHandler.removeCookies(url, callback);
|
cookieHandler.removeCookies(url, callback);
|
||||||
},
|
},
|
||||||
setRequestTimeout: function(timeout) {
|
getCookieString: function (url) {
|
||||||
|
return cookieHandler.getCookieString(url);
|
||||||
|
},
|
||||||
|
setRequestTimeout: function (timeout) {
|
||||||
this.timeoutInSeconds = timeout;
|
this.timeoutInSeconds = timeout;
|
||||||
},
|
},
|
||||||
enableSSLPinning: function (enable, success, failure) {
|
enableSSLPinning: function (enable, success, failure) {
|
||||||
@@ -186,7 +189,7 @@ var http = {
|
|||||||
acceptAllCerts: function (allow, success, failure) {
|
acceptAllCerts: function (allow, success, failure) {
|
||||||
return exec(success, failure, 'CordovaHttpPlugin', 'acceptAllCerts', [allow]);
|
return exec(success, failure, 'CordovaHttpPlugin', 'acceptAllCerts', [allow]);
|
||||||
},
|
},
|
||||||
disableRedirect: function(disable, success, failure) {
|
disableRedirect: function (disable, success, failure) {
|
||||||
return exec(success, failure, 'CordovaHttpPlugin', 'disableRedirect', [disable]);
|
return exec(success, failure, 'CordovaHttpPlugin', 'disableRedirect', [disable]);
|
||||||
},
|
},
|
||||||
validateDomainName: function (validate, success, failure) {
|
validateDomainName: function (validate, success, failure) {
|
||||||
|
|||||||
Reference in New Issue
Block a user