diff options
author | Benjamin Thomas <benjamin@benjaminthomas.org> | 2010-02-25 20:54:48 +0000 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-02-25 13:01:21 -0800 |
commit | b1b84960cedcbc033b28c0644beada614b006a9b (patch) | |
tree | f6a45724d2d82106d31202c00b4a732eb3f2c79a /test/pummel/test-keep-alive.js | |
parent | b08f2af34439685432c37723232edb48c10649b8 (diff) | |
download | android-node-v8-b1b84960cedcbc033b28c0644beada614b006a9b.tar.gz android-node-v8-b1b84960cedcbc033b28c0644beada614b006a9b.tar.bz2 android-node-v8-b1b84960cedcbc033b28c0644beada614b006a9b.zip |
Rename writeHeader to writeHead
Diffstat (limited to 'test/pummel/test-keep-alive.js')
-rw-r--r-- | test/pummel/test-keep-alive.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pummel/test-keep-alive.js b/test/pummel/test-keep-alive.js index 4b8dc93ea7..d9d444d21c 100644 --- a/test/pummel/test-keep-alive.js +++ b/test/pummel/test-keep-alive.js @@ -6,7 +6,7 @@ PORT = 8891; body = "hello world\n"; server = http.createServer(function (req, res) { - res.writeHeader(200, { + res.writeHead(200, { "Content-Length": body.length, "Content-Type": "text/plain", }); |