Browse Source

deprecate http.cat

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
360885a7e9
  1. 2
      lib/http.js

2
lib/http.js

@ -1628,6 +1628,8 @@ exports.cat = function(url, encoding_, headers_) {
headers = {},
callback = null;
console.error("http.cat will be removed in the near future. use http.get");
// parse the arguments for the various options... very ugly
if (typeof(arguments[1]) == 'string') {
encoding = arguments[1];

Loading…
Cancel
Save