summaryrefslogtreecommitdiffhomepage
path: root/test/perl/header_pairs/psgi.pl
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-02-12 19:32:54 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-02-12 19:32:54 +0300
commite2c3fa630469bf006de5a983910e391c5889430d (patch)
tree2021663f938438db7c18b3bcc87b6402b6d6b5e1 /test/perl/header_pairs/psgi.pl
parent9646772a00e50c437e0b3204ce6233b6414e1053 (diff)
downloadunit-e2c3fa630469bf006de5a983910e391c5889430d.tar.gz
unit-e2c3fa630469bf006de5a983910e391c5889430d.tar.bz2
Tests: perl module.
Diffstat (limited to 'test/perl/header_pairs/psgi.pl')
-rw-r--r--test/perl/header_pairs/psgi.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/perl/header_pairs/psgi.pl b/test/perl/header_pairs/psgi.pl
new file mode 100644
index 00000000..63d241bc
--- /dev/null
+++ b/test/perl/header_pairs/psgi.pl
@@ -0,0 +1,5 @@
+my $app = sub {
+ my ($environ) = @_;
+
+ return ['200', ['Content-Length', 0, 'blah', 'blah'], []];
+};