From: Ryan Dahl Date: Sat, 1 May 2010 21:45:14 +0000 (-0700) Subject: Fix deprecation message X-Git-Tag: v0.1.94~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=67fb0ece6b331284bdea1f75f5957f47bedca572;p=platform%2Fupstream%2Fnodejs.git Fix deprecation message --- diff --git a/lib/http.js b/lib/http.js index 90feb8a..3b28c3f 100644 --- a/lib/http.js +++ b/lib/http.js @@ -332,9 +332,7 @@ OutgoingMessage.prototype.sendHeaderLines = function (firstLine, headers) { OutgoingMessage.prototype.sendBody = function () { - throw new Error("sendBody() has been renamed to write(). " + - "The 'body' event has been renamed to 'data' and " + - "the 'complete' event has been renamed to 'end'."); + throw new Error("sendBody() has been renamed to write(). "); };