mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +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) {
|
||||
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