Fix deprecation message
This commit is contained in:
parent
d6110fbd11
commit
67fb0ece6b
@ -332,9 +332,7 @@ OutgoingMessage.prototype.sendHeaderLines = function (firstLine, headers) {
|
|||||||
|
|
||||||
|
|
||||||
OutgoingMessage.prototype.sendBody = function () {
|
OutgoingMessage.prototype.sendBody = function () {
|
||||||
throw new Error("sendBody() has been renamed to write(). " +
|
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'.");
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user