xref
: /
unit
/
test
/
node
/
set_header_array
/
app.js
Home
History
Annotate
Raw
Download
current directory
Deleted
Added
sdiff
udiff
text
old ( 855:f143c7953df7 )
new ( 1865:3c551b9721df )
full
compact
jumper
download diff
app.js (855:f143c7953df7)
app.js (1865:3c551b9721df)
1
#!/usr/bin/env node
2
1
3
require('
unit-
http').createServer(function (req, res) {
2
require('http').createServer(function (req, res) {
4
res.setHeader('Set-Cookie', ['tc=one,two,three', 'tc=four,five,six']);
5
res.end();
6
}).listen(7080);
3
res.setHeader('Set-Cookie', ['tc=one,two,three', 'tc=four,five,six']);
4
res.end();
5
}).listen(7080);