From df83a424486a987ae2dabe03ebbaaf59d2cacae6 Mon Sep 17 00:00:00 2001 From: Troy Goode Date: Sun, 28 Apr 2013 12:57:29 -0400 Subject: [PATCH] including HEAD in list of default allowed methods --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 6402494..ae57d75 100644 --- a/lib/index.js +++ b/lib/index.js @@ -6,7 +6,7 @@ var defaults, staticOptionsDelegate; defaults = { origin: '*', - methods: 'GET,PUT,POST,DELETE' + methods: 'GET,HEAD,PUT,POST,DELETE' }; // the default delegate is used if static options are passed into the middleware