mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
http header values fixed for iOS as well
This commit is contained in:
@ -28,7 +28,7 @@ export function request(options: http.HttpRequestOptions): Promise<http.HttpResp
|
|||||||
|
|
||||||
if (options.headers) {
|
if (options.headers) {
|
||||||
for (var header in options.headers) {
|
for (var header in options.headers) {
|
||||||
urlRequest.setValueForHTTPHeaderField(options.headers[header], header);
|
urlRequest.setValueForHTTPHeaderField(options.headers[header] + "", header);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user