diff options
Diffstat (limited to 'benchmark/http_simple.js')
-rw-r--r-- | benchmark/http_simple.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmark/http_simple.js b/benchmark/http_simple.js index 099a641862..d1801e7fd5 100644 --- a/benchmark/http_simple.js +++ b/benchmark/http_simple.js @@ -40,9 +40,9 @@ node.http.createServer(function (req, res) { var content_length = body.length.toString(); res.sendHeader( status - , [ ["Content-Type", "text/plain"] - , ["Content-Length", content_length] - ] + , { "Content-Type": "text/plain" + , "Content-Length": content_length + } ); res.sendBody(body); |