Debian Codegraph @

xt/010_live/03_post.t

raw symbols SCIP
1 use strict;
2 use warnings;
3 use Test::More;
4 use lib 't/lib/';
5 use t::Internal;
6
7 my $client = t::Internal->new(path => 't/fcgi/post.fcgi');
8 my ( $stdout, $stderr ) = $client->request(
9 +{
10 REQUEST_METHOD => 'POST',
11 QUERY_STRING => 'foo=bar',
12 },
13 "wow\n"
14 );
15 is $stdout, "Content−type: text/html\r\n\r\nhello: wow\n";
16 is $stderr, undef;
17
18 done_testing;