mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
HttpContent raw fixed for android
This commit is contained in:
@@ -62,7 +62,7 @@ export function request(options: http.HttpRequestOptions): promises.Promise<http
|
||||
onCompleted: function (error) {
|
||||
d.resolve({
|
||||
content: {
|
||||
raw: response,
|
||||
raw: outputStream,
|
||||
toString: () => { return outputStream.toString(); },
|
||||
toJSON: () => { return JSON.parse(outputStream.toString()); },
|
||||
toImage: () => {
|
||||
|
||||
Reference in New Issue
Block a user