feat(http): add support for ArrayBuffer
Add the buffer option to store response in ArrayBuffer Improve the interface to get back response independently of the buffer type
This commit is contained in:

committed by
Jeff Cross

parent
0ccb6e0dfc
commit
1266460386
@ -35,7 +35,8 @@ function mergeOptions(
|
||||
search: providedOpts.search,
|
||||
headers: providedOpts.headers,
|
||||
body: providedOpts.body,
|
||||
withCredentials: providedOpts.withCredentials
|
||||
withCredentials: providedOpts.withCredentials,
|
||||
buffer: providedOpts.buffer
|
||||
}));
|
||||
}
|
||||
if (isPresent(method)) {
|
||||
|
Reference in New Issue
Block a user