Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

http: fix deprecation warning module ID

Mea culpa, I told @mmalecki wrong
  • Loading branch information...
commit 56e34c2f814905a8fc3329485c64a70d59d8eeba 1 parent de78922
@bnoordhuis bnoordhuis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/http.js
View
2  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;
Please sign in to comment.
Something went wrong with that request. Please try again.