Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (7 sloc) 262 Bytes
use CGI::PSGI;
sub {
my $env = shift;
my $query = CGI::PSGI->new($env);
# return [ 200, [ "Content-Type" => "text/plain" ], [ "Hello ", $query->param('name') ] ];
return [ $query->psgi_header('text/plain'), [ "Hello ", $query->param('name') ] ];
}
Jump to Line
Something went wrong with that request. Please try again.