refactor(http): share 'body' logic between Request and Response

This commit is contained in:
Damien Cassan
2016-05-27 00:47:20 +02:00
committed by Jeff Cross
parent 1266460386
commit e7a8e2757b
14 changed files with 211 additions and 211 deletions

View File

@ -36,7 +36,7 @@ function mergeOptions(
headers: providedOpts.headers,
body: providedOpts.body,
withCredentials: providedOpts.withCredentials,
buffer: providedOpts.buffer
responseType: providedOpts.responseType
}));
}
if (isPresent(method)) {