Skip to content

Conversation

@fengqi
Copy link

@fengqi fengqi commented Sep 22, 2016

uploaddownload 会使用 var http = opt.protocol === 'https:' ? require('https') : require('http'); 这样的语法判断引入的库

但是 opt = _.parseUrl(url, opt); 返回的没没有 protocol

`upload` 和 `download` 会使用 `var http = opt.protocol === 'https:' ? require('https') : require('http');` 这样的语法判断引入的库

但是 `opt = _.parseUrl(url, opt);` 返回的没没有 `protocol`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant