提交 cf192f49 编写于 作者: G george.skarbovskiy

follow redirects

上级 affe3aaa
......@@ -4,8 +4,8 @@ var defaults = require('./../defaults');
var utils = require('./../utils');
var buildUrl = require('./../helpers/buildUrl');
var transformData = require('./../helpers/transformData');
var http = require('http');
var https = require('https');
var http = require('follow-redirects').http;
var https = require('follow-redirects').https;
var url = require('url');
var pkg = require('./../../package.json');
var Buffer = require('buffer').Buffer;
......
......@@ -61,5 +61,8 @@
},
"typescript": {
"definition": "./axios.d.ts"
},
"dependencies": {
"follow-redirects": "0.0.7"
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册