superagent
Advanced tools
Comparing version 0.15.1 to 0.15.2
@@ -5,3 +5,3 @@ { | ||
"description": "awesome http requests", | ||
"version": "0.15.1", | ||
"version": "0.15.2", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "http", |
0.15.2 / 2013-07-02 | ||
================== | ||
* fix: emit 'end' when piping. | ||
0.15.1 / 2013-06-26 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -479,2 +479,6 @@ /*! | ||
// ensure the response is being consumed | ||
// this is required for Node v0.10+ | ||
res.resume(); | ||
// strip Content-* related fields | ||
@@ -729,2 +733,7 @@ // in case of POST etc | ||
self.emit('response', response); | ||
if (multipart) return // allow multipart to handle end event | ||
res.on('end', function(){ | ||
debug('end %s %s', self.method, self.url); | ||
self.emit('end'); | ||
}) | ||
return; | ||
@@ -731,0 +740,0 @@ } |
{ | ||
"name": "superagent", | ||
"version": "0.15.1", | ||
"version": "0.15.2", | ||
"description": "elegant & feature rich browser / node HTTP with a fluent API", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
105381
3575