diff --git a/lib/http.js b/lib/http.js index 90feb8a282d..3b28c3fc923 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(). "); };