Permalink
Browse files

Removing guard, there are some cases where this is valid.

  • Loading branch information...
1 parent 3a664fd commit 8b82ef4ff0b50b0c8dcfb830f62466fa30662666 @mikeal mikeal committed Jul 9, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 main.js
View
@@ -319,7 +319,6 @@ Request.prototype.init = function (options) {
}
self.once('pipe', function (src) {
- if (self.ntick) throw new Error("You cannot pipe to this stream after the first nextTick() after creation of the request stream.")
self.src = src
if (isReadStream(src)) {
if (!self.headers['content-type'] && !self.headers['Content-Type'])

0 comments on commit 8b82ef4

Please sign in to comment.