Browse Source

http: replace util._extend() with [].slice()

PR-URL: https://github.com/iojs/io.js/pull/634
Reviewed-BY: Nicu Micleușanu <micnic90@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
v1.8.0-commit
Jonathan Ong 10 years ago
committed by Stephen Belanger
parent
commit
3e67d7e46b
  1. 2
      lib/http.js

2
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;

Loading…
Cancel
Save