diff options
| author | Ippolitov Igor <iippolitov@nginx.com> | 2023-10-19 12:50:39 +0100 |
|---|---|---|
| committer | Ippolitov Igor <iippolitov@nginx.com> | 2023-10-19 12:50:39 +0100 |
| commit | c43629880472bba8d389dfb0b7ae6d883b0ba499 (patch) | |
| tree | acecdcb36cfb85fac3d8cdbfbe473c26ac2e2686 /test/node/write_buffer/app.js | |
| parent | 8c4425ccb9a413e8d0506e0254f0e84bd89a32a6 (diff) | |
| parent | fb33ec86a3b6ca6a844dfa6980bb9e083094abec (diff) | |
| download | unit-1.31.1-1.tar.gz unit-1.31.1-1.tar.bz2 | |
Merged with the default branch.1.31.1-1
Diffstat (limited to 'test/node/write_buffer/app.js')
| -rw-r--r-- | test/node/write_buffer/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/node/write_buffer/app.js b/test/node/write_buffer/app.js index 506e8613..72e9c600 100644 --- a/test/node/write_buffer/app.js +++ b/test/node/write_buffer/app.js @@ -1,5 +1,5 @@ require('http').createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/plain'}) - .end(new Buffer([0x62, 0x75, 0x66, 0x66, 0x65, 0x72])); + .end(Buffer.from('buffer', 'utf8')); }).listen(7080); |
