From 360885a7e9b90bfab8380579df18ab3d89039dc2 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 24 Feb 2011 17:06:46 -0800 Subject: [PATCH] deprecate http.cat --- lib/http.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/http.js b/lib/http.js index af6a40932b0..56d513c22bc 100644 --- a/lib/http.js +++ b/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];