Tests: perl module.
This commit is contained in:
7
test/perl/input_read_empty/psgi.pl
Normal file
7
test/perl/input_read_empty/psgi.pl
Normal file
@@ -0,0 +1,7 @@
|
||||
my $app = sub {
|
||||
my ($environ) = @_;
|
||||
|
||||
$len = $environ->{'psgi.input'}->read(my $body, 1024);
|
||||
|
||||
return ['200', ['Content-Length' => $len], [$body]];
|
||||
};
|
||||
Reference in New Issue
Block a user