mirror of
https://github.com/silkimen/cordova-plugin-advanced-http.git
synced 2026-07-26 00:00:14 +08:00
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
This commit is contained in:
@@ -144,8 +144,7 @@ abstract class CordovaHttp {
|
||||
if (new String("json").equals(this.getSerializerName())) {
|
||||
request.contentType(request.CONTENT_TYPE_JSON, request.CHARSET_UTF8);
|
||||
request.send(this.getParamsObject().toString());
|
||||
} else if (new String("raw").equals(this.getSerializerName())) {
|
||||
// request.contentType(request.CONTENT_TYPE_JSON, request.CHARSET_UTF8);
|
||||
} else if (new String("utf8").equals(this.getSerializerName())) {
|
||||
request.send(this.getParamsObject().toString());
|
||||
} else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user