diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2010-02-21 16:53:20 -0800 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2010-02-21 16:53:49 -0800 |
| commit | 12d78cd1df084fd9ed63d11fab929a1af0c46bca (patch) | |
| tree | 00e82a288db2412e929c5c89f7353b240bf92672 /benchmark/http_simple.js | |
| parent | 05d6da6c4af25fc417902ad1bbae9198e58ff37a (diff) | |
| download | node-12d78cd1df084fd9ed63d11fab929a1af0c46bca.tar.gz | |
Rename sendHeader to writeHeader; allow reasonPhrase
Diffstat (limited to 'benchmark/http_simple.js')
| -rw-r--r-- | benchmark/http_simple.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/http_simple.js b/benchmark/http_simple.js index 75295affb..1d758b032 100644 --- a/benchmark/http_simple.js +++ b/benchmark/http_simple.js @@ -47,7 +47,7 @@ http.createServer(function (req, res) { var content_length = body.length.toString(); - res.sendHeader( status + res.writeHeader( status , { "Content-Type": "text/plain" , "Content-Length": content_length } |
