From 3e67d7e46b80c90faa360d1d0e44dacc444e8e4f Mon Sep 17 00:00:00 2001 From: Jonathan Ong Date: Tue, 27 Jan 2015 20:08:43 -0800 Subject: http: replace util._extend() with [].slice() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/iojs/io.js/pull/634 Reviewed-BY: Nicu Micleușanu Reviewed-By: Ben Noordhuis Reviewed-By: Stephen Belanger --- lib/http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/http.js') diff --git a/lib/http.js b/lib/http.js index 9b23ada063..a9cfeddeea 100644 --- a/lib/http.js +++ b/lib/http.js @@ -8,7 +8,7 @@ exports.IncomingMessage = require('_http_incoming').IncomingMessage; const common = require('_http_common'); -exports.METHODS = util._extend([], common.methods).sort(); +exports.METHODS = common.methods.slice().sort(); exports.OutgoingMessage = require('_http_outgoing').OutgoingMessage; -- cgit v1.2.3