summaryrefslogtreecommitdiffhomepage
path: root/test/node
diff options
context:
space:
mode:
Diffstat (limited to 'test/node')
-rw-r--r--test/node/set_header_array_with_override/app.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/node/set_header_array_with_override/app.js b/test/node/set_header_array_with_override/app.js
new file mode 100644
index 00000000..6b3863a4
--- /dev/null
+++ b/test/node/set_header_array_with_override/app.js
@@ -0,0 +1,6 @@
+
+require('http').createServer(function (req, res) {
+ res.setHeader('Set-Cookie', ['tc=one,two,three', 'tc=four,five,six']);
+ res.setHeader('Set-Cookie', ['tc=one,two,three', 'tc=four,five,six', 'tc=seven,eight,nine']);
+ res.end();
+}).listen(8080);