diff options
Diffstat (limited to '')
-rwxr-xr-x | test/node/set_header_array/app.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/node/set_header_array/app.js b/test/node/set_header_array/app.js new file mode 100755 index 00000000..faac45c7 --- /dev/null +++ b/test/node/set_header_array/app.js @@ -0,0 +1,6 @@ +#!/usr/bin/env node + +require('unit-http').createServer(function (req, res) { + res.setHeader('Set-Cookie', ['tc=one,two,three', 'tc=four,five,six']); + res.end(); +}).listen(7080); |