- Fixed #45: does not encode arrays correctly as HTTP GET parameter on Android
- Fixed #54: requests are not responding on iOS with non-string values in header object
- Fixed #58: white-list of allowed content-types should be removed for iOS
- Feature #44: "getCookieString" method is exposed
- Feature #43: added support for content type "application/javascript" on iOS (thanks wh33ler)
- Feature #46: "setCookie" allows adding custom cookies
- Fixed #27: "uploadFile" method doesn't return data object on iOS (thanks Faisalali23 and laiyinjie)
- Fixed #40: generic error codes are different on Android and iOS
- Feature #33: response object contains response url
- Fixed #36: setting basic authentication not working correctly (thanks jkfb)
- Fixed #35: Android headers are not normalized (not returned in lowercase)
- Fixed #26: JSON request with array data is not working on Android (JSON error)
- Feature #24: "setHeader" allows configuring headers for specified host
- Change #29: removed "validateDomainName" (see info notice)
- Fixed #31: request fails throwing error on erroneous cookies
- Fixed #28: added support for content type "application/hal+json" on iOS (thanks ryandegruyter)
We've decided to remove the validateDomainName()
method, because people were complaining that acceptAllCerts(true)
is not behaving as expected. And also it's not a good idea to disable domain name validation while using valid certs, because it pretends having a secure connection, but it isn't.
You should either use valid certs with domain name validation enabled (safe for production use) or accept any certs without domain name validation (only for private dev environments). I strongly discourage using fake certs in public networks.
Therefore we are disabling domain name validation automatically, when you set acceptAllCerts(true)
. So if you were using validateDomainName()
function, you need to remove this function call for v1.6.2+.
- Fixed #23: PATCH method broken on android
- Feature #18: implemented PATCH method (thanks akhatri for android implementation)
- Feature #21: added redirection control (thanks to notsyncing and kesozjura)
- Fixed #16: cordova tries to run build script during plugin install
- Fixed #10: fix gzip decompression when request header accepts gzip compression (thanks to DayBr3ak)
- Fixed #13: fix angular integration for
setDataSerializer
(thanks to RangerRick) - Added some missing documentation (thanks to RangerRick)
- Fixed case-sensitive folder name of Android source files
- Use the same error codes if a request timed out
- Fixed a bug in cookie handling (cookies containing an "Expires" string)
- Added setRequestTimeout function to set the timeout in seconds for all further requests
- All response header keys are converted to lowercase (iOS only)
- added a function to remove all cookies for a URL
- fixed an error if the response has no "headers" field
- handles cookies correctly on non-success response from server
- throws error when a callback function is missing
- fixed missing file "umd-tough-cookie.js“ (caused by missing file ".npmignore")
- fixed case-sensitive path name of android source files ("CordovaHTTP" --> "cordovahttp")
- added cookie handling
- cookies are persisted via web storage API
- forked from "cordova-plugin-http" v1.2.0 (see https://github.com/wymsee/cordova-HTTP)
- added configuration for data serializer
- added HTTP methods PUT and DELETE
- Added support for TLSv1.1 and TLSv1.2 for android versions 4.1-4.4 (API levels 16-19)
- Dropped SSLv3 support for all API Levels < 20. It will now only work on API Levels 20-22.
- Fixed the body of errors not being returned in iOS
- Updated AFNetworking to 3.1.0
- Disable encoding get() URLS in android (Thanks to devgeeks)
- Fixed version number in plugin.xml
- Fixed bug using useBasicAuth and setHeader from angular
- updated README
- Added getBasicAuthHeader function
- Added necessary iOS framework (Thanks to EddyVerbruggen)
- Request internet permission in android (Thanks to mbektchiev)
- Fix acceptAllCerts doesn't call callbacks (Thanks to EddyVerbruggen)
- Add validateDomainName (Thanks to denisbabineau)
- Add HEAD request support (untested) (Thanks to denisbabineau)
- Update cordova file plugin dependency (Thanks to denisbabineau)
- useBasicAuthHeader and setHeader are now synchronous functions
- updated AFNetworking to 3.0.4 - only iOS 7+ is now supported
- updated http-request to 6.0
- Support for certificates in www/certificates folder (Thanks to EddyVerbruggen)
- Update AFNetworking to 2.4.1 for iOS bug fix in Xcode 6
- Fixed plugin.xml for case sensitive filesystems (Thanks to andrey-tsaplin)
- Fixed a bug that prevented building
- Initial release
- Fixed examples (Thanks to devgeeks)
- Reports SSL Handshake errors rather than giving a generic error (Thanks to devgeeks)
- Exporting http as a module (Thanks to pvsaikrishna)
- Added Limitations section to readme (Thanks to cvillerm)
- Fixed examples (Thanks to hideov)