methods.js
This file
Path
lib/router/methods.js
36 lines · 479 bytes · JavaScript
Last changed by
Changed express.methods to include only those supported by nodeTj Holowaychukbefore adoption5e56446
History of this fileTake it
The walk stopped after 200 commits: lines older than e1da383 point at it.
new ViewTj Holowaychukbefore adoptione1da383
lines 1–8why, one step back12/*!3 * Express - router - methods4 * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca>5 * MIT Licensed6 */78/**Changed express.methods to include only those supported by nodeTj Holowaychukbefore adoption5e56446
line 9why, one step back9 * HTTP methods supported by node.new ViewTj Holowaychukbefore adoptione1da383
lines 10–11why, one step back10 */11Changed express.methods to include only those supported by nodeTj Holowaychukbefore adoption5e56446
lines 12–36why, one step back12module.exports = [13 'get'14 , 'post'15 , 'put'16 , 'head'17 , 'delete'18 , 'options'19 , 'trace'20 , 'copy'21 , 'lock'22 , 'mkcol'23 , 'move'24 , 'propfind'25 , 'proppatch'26 , 'unlock'27 , 'report'28 , 'mkactivity'29 , 'checkout'30 , 'merge'31 , 'm-search'32 , 'notify'33 , 'subscribe'34 , 'unsubscribe'35 , 'patch'36];