projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6110fb
)
Fix deprecation message
author
Ryan Dahl
<ry@tinyclouds.org>
Sat, 1 May 2010 21:45:14 +0000
(14:45 -0700)
committer
Ryan Dahl
<ry@tinyclouds.org>
Sat, 1 May 2010 21:45:14 +0000
(14:45 -0700)
lib/http.js
patch
|
blob
|
history
diff --git
a/lib/http.js
b/lib/http.js
index
90feb8a
..
3b28c3f
100644
(file)
--- 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(). ");
};