refactor(http): share 'body' logic between Request and Response
This commit is contained in:

committed by
Jeff Cross

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