Sefa Ilkimen
85346e0381
Merge branch 'binary_response'
...
# Conflicts:
# test/e2e-specs.js
2019-06-13 16:44:35 +02:00
Sefa Ilkimen
9b26a0f031
fix #221 : headers are not set on Android when request fails due to non-success status code
2019-06-13 16:00:26 +02:00
Sefa Ilkimen
f91727e14a
add response type "arraybuffer" support for android
2019-06-12 23:01:15 +02:00
Sefa Ilkimen
c83940a8f6
deprecate "disableRedirect" in favor of "setFollowRedirect"
2019-04-15 18:09:34 +02:00
Sefa Ilkimen
4f3ff9097f
WIP: implementing X509 client cert authentication (android "buffer" mode)
2019-04-15 03:18:59 +02:00
Sefa Ilkimen
620ce3f81c
Fix #204 : broken support for cordova-android < 7.0
2019-04-15 02:47:14 +02:00
Sefa Ilkimen
56f8b41f4f
Fix #189 : error code mappings for TLS handshake problems are not precise
2019-04-08 17:58:39 +02:00
Sefa Ilkimen
a1b6ea94f0
Fix #200 : remove string switch and use ugly if ... else 😢 to be compatible with Java target 6
2019-04-05 16:48:18 +02:00
Sefa Ilkimen
d977392a49
- some cleanup
...
- deprecate "setSSLCertMode" in favor of "setServerTrustMode"
2019-04-05 16:26:04 +02:00
Sefa Ilkimen
8d28f4ab80
WIP: implementing X509 client cert authentication
2019-04-05 05:22:34 +02:00
Sefa Ilkimen
230de36618
WIP:
...
- some refactoring for future features
- move params serializer into JS code
2019-04-02 12:04:49 +02:00
Sefa Ilkimen
ba57d3cba1
re-integrate OkHttp3 connection factory
2019-03-22 18:09:25 +01:00
Sefa Ilkimen
508b1b4f83
re-implement disabling verification of hostname
2019-03-22 05:03:24 +01:00
Sefa Ilkimen
7992bd0991
WIP: started re-implementing SSL cert modes
2019-03-22 04:06:50 +01:00
Sefa Ilkimen
a331b57ab2
WIP: fix disableRedirect()
2019-03-22 02:18:43 +01:00
Sefa Ilkimen
ee30160921
WIP: reduce duplicate code & cleanup
2019-03-22 02:06:39 +01:00
Sefa Ilkimen
e8e1c4273f
WIP: re-implement Upload and Download Runnables
2019-03-21 17:45:24 +01:00
Sefa Ilkimen
752b2cdcb7
WIP: started refactoring
...
- one HTTP request class implementing Runnable for all request methods
- broken SSL cert handling
2019-03-21 15:12:53 +01:00
Sefa Ilkimen
a0f376233c
Fix #187 : setSSLCertMode with "default" throws an error on Android
2019-03-01 18:12:06 +01:00
Sefa Ilkimen
807400bc63
Fix #185 : need more detailed SSL error message
2019-02-22 19:20:12 +01:00
Sefa Ilkimen
a195de409d
Fix #172 : plugin does not respect user installed CA certs on Android
2018-12-23 19:00:51 +01:00
Alexis THOMAS and GitHub
c31765bbcd
Fix argument double encoding for HttpHead
...
To follow #157 that fixed double encoding on file download
2018-11-26 10:37:21 +01:00
Bastien Marsaud
6fcf4dc8eb
Fix argument double encoding on file download
...
Disable argument encoding in get request
2018-10-18 12:33:05 +02:00
Sefa Ilkimen
c41fc11888
SSL certs must be places in "www/certificates"; project root folder is not scanned for certs anymore
2018-09-03 15:02:26 +02:00
Sefa Ilkimen
96f45d7274
feature #103 : implement HTTP SSL cert modes
2018-05-27 19:30:42 +02:00
Sefa Ilkimen
8e4bfdbc70
remove explicit host name verification setting on Android
2018-05-25 18:45:10 +02:00
Sefa Ilkimen
2ae4c7cf39
refactor cert handling for Android (preparing for v2 changes)
2018-04-11 03:24:27 +02:00
Sefa Ilkimen and GitHub
a637d70ec1
Merge pull request #76 from Johny101/master
...
Modify Android HTTP upload sequence for IOS uniformity
2018-02-27 17:23:28 +01:00
Sefa Ilkimen and GitHub
35dc0205aa
Merge pull request #82 from chax/master
...
Replaced connectionFactory with OkHttp implementation
2018-02-27 12:53:03 +01:00
chax
8a9381ffaa
refactored to use Singleton instance of ConnectionFactory
2018-02-26 11:19:29 +01:00
chax
f1c95ef6fd
fixes #79
2018-02-23 17:36:22 +01:00
Sefa Ilkimen
6877fbdb65
fix #78 : override header "Content-Type" correctly on Android
2018-02-21 23:44:36 +01:00
Johny101 and GitHub
9c34f47624
Modify android HTTP upload sequence for uniformity with IOS
...
Date: Feb2018
Description
Android cordova-plugin-advanced-http 'upload' sequence was modified:
- to respect the order of operations some sites requires, like amazonaws.com
- to have the same behaviour as the IOS counterpart.
Tests
Manual manipulations on Android and PC
2018-02-16 12:59:45 -05:00
Sefa Ilkimen
a49bcac81b
Android: support guessing charset when header value is not set
2018-02-15 11:10:19 +01:00
Sefa Ilkimen
2f01d48abb
- Android: support latin1 (iso-8859-1) encoded data
...
- Android: some refactoring
2018-02-13 16:38:46 +01:00
Sefa Ilkimen
441268586b
fix #71 : encode query string in URL correctly on Android
2018-02-11 16:37:51 +01:00
Sefa Ilkimen
ebef9a2944
Android: fix interface for "utf8" serializer
2018-02-07 16:57:48 +01:00
Sefa Ilkimen
c452b29433
WIP commit for iOS:
...
- failure handler gets called if an exception occurs in native code
- rename "raw" serializer to "utf8"
- extract serializer into separate file
2018-02-07 16:31:51 +01:00
Roberto Capuano
5d5a859cfc
added 'raw' serializer
2017-12-12 16:42:03 +01:00
Sefa Ilkimen
d67e80dfe0
fix #45 : does not encode arrays correctly as HTTP GET parameter on Android
2017-11-26 03:42:22 +01:00
Sefa Ilkimen
e987652d97
fix #40 : generic error codes are different on Android and iOS
2017-11-07 13:31:38 +01:00
Sefa Ilkimen
292d726b20
- feature #33 : response object contains response url
...
- annotate tests with issue numbers
- refactor android source code
2017-11-02 14:59:53 +01:00
Sefa Ilkimen
0aee536d5c
fix #26 : JSON request with array data is not working on Android (JSON error)
2017-10-27 16:20:35 +02:00
Sefa Ilkimen
208529003d
fix #35 : Android headers are not normalized (not returned in lowercase)
2017-10-26 17:34:32 +02:00
Sefa Ilkimen
a8f1d2b1c2
changed behaviour #29 : removed "validateDomainName" function and disabling it when "acceptAllCerts" is enabled
2017-10-19 16:24:54 +02:00
Sefa Ilkimen
52b2efe71b
fixed PATCH method on android
2017-10-02 16:17:29 +02:00
Akshat Khatri - AK
09da3c9a97
patch method android
2017-10-01 17:26:20 +11:00
Akshat Khatri - AK
52ccfc6aca
Merge remote-tracking branch 'refs/remotes/silkimen/master' into feature-patch-method-android
2017-10-01 17:11:41 +11:00
Martin Kasa
a4a6440bcb
Add global redirection control
...
copied from https://github.com/wymsee/cordova-HTTP/pull/137
2017-09-29 14:36:00 +02:00
Akshat Khatri - AK
792515e1c6
patch method android
2017-09-29 21:02:44 +10:00