mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
http for android header values fixed and test added
This commit is contained in:
@ -85,7 +85,7 @@ function buildJavaOptions(options: http.HttpRequestOptions) {
|
||||
var pair = com.tns.Async.Http.KeyValuePair;
|
||||
|
||||
for (var key in options.headers) {
|
||||
arrayList.add(new pair(key, options.headers[key]));
|
||||
arrayList.add(new pair(key, options.headers[key] + ""));
|
||||
}
|
||||
|
||||
javaOptions.headers = arrayList;
|
||||
|
Reference in New Issue
Block a user