3 * Express - router - methods
4 * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca>
9 * Hypertext Transfer Protocol -- HTTP/1.1
10 * http://www.ietf.org/rfc/rfc2616.txt
13 var RFC2616 = ['OPTIONS', 'GET', 'POST', 'PUT', 'DELETE', 'TRACE', 'CONNECT'];
16 * HTTP Extensions for Distributed Authoring -- WEBDAV
17 * http://www.ietf.org/rfc/rfc2518.txt
20 var RFC2518 = ['PROPFIND', 'PROPPATCH', 'MKCOL', 'COPY', 'MOVE', 'LOCK', 'UNLOCK'];
23 * Versioning Extensions to WebDAV
24 * http://www.ietf.org/rfc/rfc3253.txt
27 var RFC3253 = ['VERSION-CONTROL', 'REPORT', 'CHECKOUT', 'CHECKIN', 'UNCHECKOUT', 'MKWORKSPACE', 'UPDATE', 'LABEL', 'MERGE', 'BASELINE-CONTROL', 'MKACTIVITY'];
30 * Ordered Collections Protocol (WebDAV)
31 * http://www.ietf.org/rfc/rfc3648.txt
34 var RFC3648 = ['ORDERPATCH'];
37 * Web Distributed Authoring and Versioning (WebDAV) Access Control Protocol
38 * http://www.ietf.org/rfc/rfc3744.txt
41 var RFC3744 = ['ACL'];
44 * Web Distributed Authoring and Versioning (WebDAV) SEARCH
45 * http://www.ietf.org/rfc/rfc5323.txt
48 var RFC5323 = ['SEARCH'];
51 * PATCH Method for HTTP
52 * http://www.ietf.org/rfc/rfc5789.txt
55 var RFC5789 = ['PATCH'];
61 module.exports = [].concat(
68 , RFC5789).map(function(method){
69 return method.toLowerCase();