summaryrefslogtreecommitdiffhomepage
path: root/test/perl/header_equal_names
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-02-26 19:53:40 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-02-26 19:53:40 +0300
commita89747e97c2a00503260d72082949be4ba97983f (patch)
tree424fea2951f83cde3f73365a0869cff92fad2a39 /test/perl/header_equal_names
parent6d79c559b5cebeb2ad7c5dbdb779e3bec26fc08a (diff)
downloadunit-a89747e97c2a00503260d72082949be4ba97983f.tar.gz
unit-a89747e97c2a00503260d72082949be4ba97983f.tar.bz2
Tests: more perl tests.
Diffstat (limited to 'test/perl/header_equal_names')
-rw-r--r--test/perl/header_equal_names/psgi.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/perl/header_equal_names/psgi.pl b/test/perl/header_equal_names/psgi.pl
new file mode 100644
index 00000000..70bc8aa6
--- /dev/null
+++ b/test/perl/header_equal_names/psgi.pl
@@ -0,0 +1,9 @@
+my $app = sub {
+ my ($environ) = @_;
+
+ return ['200', [
+ 'Content-Length' => 0,
+ 'Set-Cookie' => 'tc=one,two,three',
+ 'Set-Cookie' => 'tc=four,five,six'
+ ], []];
+};