mirror of
https://github.com/tenrok/axios.git
synced 2026-06-11 18:02:32 +03:00
Fixed & Imporoved AxiosHeaders class (#5224)
* Refactored AxiosHeaders class; * Added support for instances of AxiosHeaders as a value for the headers option; Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
@@ -10,7 +10,7 @@ import formDataToJSON from '../helpers/formDataToJSON.js';
|
||||
import adapters from '../adapters/index.js';
|
||||
|
||||
const DEFAULT_CONTENT_TYPE = {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
'Content-Type': undefined
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user