mirror of https://github.com/nodejs/node.git
http: fix deprecation warning module ID
Mea culpa, I told @mmalecki wrongpull/5370/head
parent
de78922b12
commit
56e34c2f81
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue