Comparing version 0.1.1 to 0.1.2
@@ -71,3 +71,5 @@ var http = require("http"), | ||
} | ||
else pipe.call(this, dest, opts); | ||
pipe.call(this, dest, opts); | ||
return dest; | ||
}; | ||
@@ -95,3 +97,3 @@ | ||
scope._ended = true; | ||
scope._cb(null, scope.response, scope._body); | ||
if(scope._cb) scope._cb(null, scope.response, scope._body); | ||
}); | ||
@@ -98,0 +100,0 @@ |
{ | ||
"name": "minreq", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "minimalistic request library", | ||
@@ -5,0 +5,0 @@ "author": "Felix Boehm <me@feedic.com>", |
7125
185