3 * Copyright(c) 2013-2014 TJ Holowaychuk
4 * Copyright(c) 2015-2016 Douglas Christopher Wilson
11 * Module dependencies.
15 var http = require('http');
22 module.exports = getCurrentNodeMethods() || getBasicNodeMethods();
25 * Get the current Node.js methods.
29 function getCurrentNodeMethods() {
30 return http.METHODS && http.METHODS.map(function lowerCaseMethod(method) {
31 return method.toLowerCase();
36 * Get the "basic" Node.js methods, a snapshot from Node.js 0.10.
40 function getBasicNodeMethods() {