mirror of
https://github.com/tenrok/axios.git
synced 2026-06-02 16:04:10 +03:00
This reverts commit a9a3b5e22b.
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ var defaults = {
|
||||
return data;
|
||||
}
|
||||
if (utils.isArrayBufferView(data)) {
|
||||
return data.slice().buffer;
|
||||
return data.buffer;
|
||||
}
|
||||
if (utils.isURLSearchParams(data)) {
|
||||
setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');
|
||||
|
||||
Reference in New Issue
Block a user