Comparing version 2.3.6 to 2.3.7
2.3.7 / 2015-06-04 | ||
================== | ||
* test: use cnpmjs.org instead of taobao.com | ||
* fix: need to resume res before next redirect request start | ||
2.3.6 / 2015-06-03 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -447,5 +447,7 @@ /**! | ||
if (result.redirect) { | ||
res.resume(); | ||
return; | ||
} | ||
if (result.error) { | ||
res.resume(); | ||
return done(result.error, null, res); | ||
@@ -476,5 +478,7 @@ } | ||
if (result.redirect) { | ||
res.resume(); | ||
return; | ||
} | ||
if (result.error) { | ||
res.resume(); | ||
// end ths stream first | ||
@@ -481,0 +485,0 @@ writeStream.end(); |
{ | ||
"name": "urllib", | ||
"version": "2.3.6", | ||
"version": "2.3.7", | ||
"description": "Help in opening URLs (mostly HTTP) in a complex world — basic and digest authentication, redirections, cookies and more.", | ||
@@ -43,13 +43,14 @@ "keywords": [ | ||
"devDependencies": { | ||
"agentkeepalive": "~2.0.2", | ||
"agentkeepalive": "2", | ||
"autod": "*", | ||
"bluebird": "*", | ||
"co": "*", | ||
"formstream": "~1.0.0", | ||
"coffee": "1", | ||
"formstream": "1", | ||
"istanbul": "*", | ||
"jshint": "*", | ||
"mocha": "*", | ||
"pedding": "~1.0.0", | ||
"semver": "~4.3.3", | ||
"should": "~6.0.3", | ||
"pedding": "1", | ||
"semver": "4", | ||
"should": "6", | ||
"should-http": "*" | ||
@@ -56,0 +57,0 @@ }, |
44645
664
13