-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support http(s) proxy #226
Conversation
@fengmk2, thanks for your PR! By analyzing the history of the files in this pull request, we identified @xingrz, @dead-horse and @coderhaoxin to be potential reviewers. |
1a05460
to
b901cb7
Compare
CI 挂了,jshint 没过 |
先不合,有bug
…Sent from my iPhone
On 16 Mar 2017, at 2:38 PM, Yiyu He ***@***.***> wrote:
CI 挂了,jshint 没过
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
5eac62c
to
12877f3
Compare
lib/urllib.js
Outdated
@@ -113,6 +114,8 @@ var PROTO_RE = /^https?:\/\//i; | |||
* - {Boolean} [timing]: Enable timing or not, default is `false`. | |||
* - {Function} [lookup]: Custom DNS lookup function, default is `dns.lookup`. | |||
* Require node >= 4.0.0 and only work on `http` protocol. | |||
* - {Boolean} [enableProxy]: optional, enable proxy request. Default is `false`. | |||
* - {String|Object} [proxy]: optional proxy agent uri or options. Default is `null`. | |||
* @param {Function} [callback], callback(error, data, res). If missing callback, will return a promise object. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
逗号是上一行的吧?
Codecov Report
@@ Coverage Diff @@
## master #226 +/- ##
==========================================
- Coverage 97.83% 92.59% -5.24%
==========================================
Files 4 6 +2
Lines 553 608 +55
Branches 139 161 +22
==========================================
+ Hits 541 563 +22
- Misses 12 45 +33
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #226 +/- ##
==========================================
- Coverage 97.83% 93.24% -4.59%
==========================================
Files 4 6 +2
Lines 553 607 +54
Branches 139 161 +22
==========================================
+ Hits 541 566 +25
- Misses 12 41 +29
Continue to review full report at Codecov.
|
2.24.0 |
closes cnpm/npminstall#135