xref: /unit/test/perl/input_read_empty/psgi.pl (revision 544:c4bbb14c5bdb)
1my $app = sub {
2    my ($environ) = @_;
3
4    $len = $environ->{'psgi.input'}->read(my $body, 1024);
5
6    return ['200', ['Content-Length' => $len], [$body]];
7};
8