diff --git a/lib/http.js b/lib/http.js index 232fc8a08f7..14e41ba24c9 100644 --- a/lib/http.js +++ b/lib/http.js @@ -1590,7 +1590,7 @@ exports._connectionListener = connectionListener; function Client(port, host) { // TODO http.Client can be removed in v0.9. Until then leave this message. - util._deprecationWarning('http.Client', 'http.Client is a legacy interface' + + util._deprecationWarning('http', 'http.Client is a legacy interface' + ' and will be removed in the near future. Do not use it.'); host = host || 'localhost'; port = port || 80;