Sefa Ilkimen
99c7f5d331
add default content type for raw serializer
2020-01-26 17:50:18 +01:00
Pavel Chuchuva
937010bd4e
Add support for sending 'raw' requests on iOS too
2020-01-14 16:09:47 +11:00
Pavel Chuchuva
7ab4b634ca
Add support for sending 'raw' requests on Android
...
request.data can be `Uint8Array` or `ArrayBuffer`. The plugin will send it as is, without any processing.
2020-01-12 08:18:02 +11:00
Sefa Ilkimen
3e5c941fdd
refactor: iOS implementation
2019-11-17 22:46:51 +01:00
Sefa Ilkimen
0f273f401b
feat(ios): implement multipart requests
...
- expose new AFHTTPSessionManager method "uploadTaskWithHTTPMethod"
2019-11-17 21:29:38 +01:00
Sefa Ilkimen
684874184d
- refactor: iOS implementation
...
- chore: add flags to run only one spec or disable spec in e2e tests
2019-11-17 19:33:19 +01:00
Sefa Ilkimen
594d03aa41
WIP: major progress for #101
...
- feat(www): implement preprocessor for FormData instances
- feat(www): implement API checks for multipart requests
- feat(android): implement multipart requests
- chore(specs): implement www specs for new prprocessor
2019-11-11 04:49:35 +01:00
Sefa Ilkimen
9e892119cc
feat( #127 ): adding multiple file upload
...
- implement multi uploading files for ios
- update readme
2019-09-29 21:43:58 +02:00
Sefa Ilkimen
f93f69e0aa
feat( #127 ): adding multiple file upload
...
- remove www interface function "uploadFiles" as it confuses more than it helps
- implement multi uploading files for android
- add e2e spec
2019-09-29 20:37:36 +02:00
Sefa Ilkimen
2b567cdf32
Fix #224 : responseType "arraybuffer" and "blob" not working on browser platform
2019-06-14 16:43:36 +02:00
Sefa Ilkimen
1fc3d6230c
- update readme
...
- implement response type support for browser platform
2019-06-14 00:52:27 +02:00
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
8cf0d21a7a
add response type "arraybuffer" support for iOS
2019-06-12 23:43:40 +02:00
Sefa Ilkimen
f91727e14a
add response type "arraybuffer" support for android
2019-06-12 23:01:15 +02:00
Sefa Ilkimen
c3d60c37bf
fix #218 : headers are used as params on browser platform
2019-06-03 11:59:35 +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
70c8b9bb32
Fix #201 : browser implementation broken due to broken dependency
2019-04-08 20:12:36 +02:00
Sefa Ilkimen
4b964e8b7c
Fix #197 : iOS crashes on multiple HTTPS downloadFile() calls (reverting a8e3637)
2019-04-08 19:14:39 +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
e1e720fe2d
Add missing handler on browser platform
2019-04-08 17:31:38 +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
8bdbf7ca78
fix query params handling for iOS
2019-04-03 14:28:12 +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
0af726d8ce
align iOS error codes with Android error codes
2019-03-28 15:37:56 +01: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
56272b9a5d
Update changelog
2019-03-11 13:59:17 +01:00
Sefa Ilkimen
8f859db57f
Merge branch 'master' of https://github.com/chrisjdev/cordova-plugin-advanced-http into chrisjdev-master
2019-03-11 11:34:10 +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
Chris J
ebd6ae9793
Keep AFHTTPSessionManager instance with the plugin
...
Persist the AFHTTPSessionManager instance for the life of the plugin to allow reusing the underlying sockets, for example, with "Connection: keep-alive" headers.
2018-12-20 10:47:13 -05:00
Alexis THOMAS
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
f87afa2217
- fix #136 : Content-Type header not overwritable on browser platform
...
- remove obsolete methods "enableSSLPinning" and "acceptAllCerts"
2018-09-04 01:56:17 +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
Florian Leitmann
5919d90698
Merge remote-tracking branch 'upstream/master' into ios-networking-indicator
2018-05-31 17:29:12 +02:00
Sefa Ilkimen
96f45d7274
feature #103 : implement HTTP SSL cert modes
2018-05-27 19:30:42 +02:00
Florian Leitmann
3dbd07c9df
Merge branch 'master' into ios-networking-indicator
2018-05-27 14:01:04 +02:00
Florian Leitmann
cb597c0d30
Added SDNetworkActivityIndicator library and integrated it in plugin.xml definition as well as CordovaHttpPlugin.m
...
This library allows to show the network activity indicator on iOS devices, to indicate native networking
It uses a counter to hide the indicator depending on whether all request have been fulfilled or not
2018-05-27 12:45:52 +02:00