Skip to content

Commit

Permalink
including HEAD in list of default allowed methods
Browse files Browse the repository at this point in the history
  • Loading branch information
troygoode committed Apr 28, 2013
1 parent dec52de commit df83a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df83a42

Please sign in to comment.