2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00

support node buffers less than 8192 bytes (#773)

This commit is contained in:
Jeremy Fowler
2017-04-08 06:55:34 -05:00
committed by Rubén Norte
parent bbfbeff4bc
commit 188334439f
4 changed files with 40 additions and 2 deletions
+1
View File
@@ -32,6 +32,7 @@ var defaults = {
normalizeHeaderName(headers, 'Content-Type');
if (utils.isFormData(data) ||
utils.isArrayBuffer(data) ||
utils.isBuffer(data) ||
utils.isStream(data) ||
utils.isFile(data) ||
utils.isBlob(data)