git-cgi.t: Print query string as a TAP diagnostic

Signed-off-by: Simon McVittie <smcv@debian.org>
master
Simon McVittie 2019-01-31 19:48:08 +00:00
parent 3e671d1afa
commit a10d86bbae
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ sub run_cgi {
my $cgi = CGI->new($args{params}); my $cgi = CGI->new($args{params});
my $query_string = $cgi->query_string(); my $query_string = $cgi->query_string();
diag $query_string;
if ($method eq 'POST') { if ($method eq 'POST') {
$defaults{REQUEST_METHOD} = 'POST'; $defaults{REQUEST_METHOD} = 'POST';