Skip to content

Commit

Permalink
node v0.10 allow header support is weird, attempt to fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
David Frank committed Mar 19, 2016
1 parent 839354b commit 4b589bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/server.js
Expand Up @@ -43,7 +43,7 @@ TestServer.prototype.router = function(req, res) {

if (p === '/options') {
res.statusCode = 200;
res.setHeader('Allow', ['GET', 'HEAD', 'OPTIONS']);
res.setHeader('Allow', 'GET, HEAD, OPTIONS');
res.end('hello world');
}

Expand Down

0 comments on commit 4b589bc

Please sign in to comment.