node v0.10 allow header support is weird, attempt to fix test
This commit is contained in:
parent
839354b76b
commit
4b589bc147
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue