diff options
Diffstat (limited to 'test/perl/body_io_file/psgi.pl')
-rw-r--r-- | test/perl/body_io_file/psgi.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/perl/body_io_file/psgi.pl b/test/perl/body_io_file/psgi.pl new file mode 100644 index 00000000..2612ae18 --- /dev/null +++ b/test/perl/body_io_file/psgi.pl @@ -0,0 +1,7 @@ +my $app = sub { + my ($environ) = @_; + + open my $io, '<file'; + + return ['200', ['Content-Length' => 5], $io]; +}; |