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;