We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0723ff commit b68cb17Copy full SHA for b68cb17
test/basic.js
@@ -58,7 +58,7 @@ test('simple get json', function (t) {
58
59
var server = http.createServer(function (req, res) {
60
t.equal(req.url, '/path')
61
- t.equal(req.headers['accept'], 'application/json')
+ t.equal(req.headers.accept, 'application/json')
62
res.statusCode = 200
63
res.end('{"message":"response"}')
64
})
0 commit comments