summaryrefslogtreecommitdiffhomepage
path: root/test/perl/body_io_empty/psgi.pl
diff options
context:
space:
mode:
Diffstat (limited to 'test/perl/body_io_empty/psgi.pl')
-rw-r--r--test/perl/body_io_empty/psgi.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/perl/body_io_empty/psgi.pl b/test/perl/body_io_empty/psgi.pl
new file mode 100644
index 00000000..0a203dec
--- /dev/null
+++ b/test/perl/body_io_empty/psgi.pl
@@ -0,0 +1,9 @@
+use IO::Handle;
+
+my $app = sub {
+ my ($environ) = @_;
+
+ my $io = IO::Handle->new();
+
+ return ['200', [], $io];
+};