Comparing version 1.5.0 to 1.5.1
1.5.1 / 2014-09-10 | ||
================== | ||
* httpclient add requestThunk() | ||
1.5.0 / 2014-09-10 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -625,2 +625,10 @@ /**! | ||
HttpClient.prototype.requestThunk = function (url, args) { | ||
args = args || {}; | ||
args._events = this.events; | ||
args.agent = args.agent || this.agent; | ||
args.httpsAgent = args.httpsAgent || this.httpsAgent; | ||
return exports.requestThunk(url, args); | ||
}; | ||
HttpClient.prototype.on = function (event, listener) { | ||
@@ -627,0 +635,0 @@ if (!this.events) { |
{ | ||
"name": "urllib", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "Help in opening URLs (mostly HTTP) in a complex world — basic and digest authentication, redirections, cookies and more.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41546
577