Describe the bug
Module http adapter is not beind exported, so I cannot force axios to use the http adapter instead of xhr
To Reproduce
const axios = require('axios');
const url = 'https://catfact.ninja/fact';
axios.get(url, {
adapter: require('axios/lib/adapters/http'),
}).then(console.log).catch(console.log);
or
const instance = axios.create({
adapter: require('axios/lib/adapters/http'),
})
It works using axios@0.27.2
Expected behavior
Use HTTP adapter
Axios Version
1.1.3 and 1.2.0-alpha.1
Adapter Version
HTTP
Browser
No response
Browser Version
No response
Node.js Version
19.0.0
OS
No response
Additional Library Versions
No response
Additional context/Screenshots
No response