blob: 987f4e9fb7b4eb33fc72c0d9f43c1cf32edec2ea [file] [log] [blame]
use strict;
use warnings FATAL => 'all';
use Apache::Test;
use Apache::TestUtil;
use Apache::TestRequest;
plan tests => 2;
my $location = "/TestApache__cgihandler";
my $expected = "1..3\nok 1\nok 2\nok 3\n";
my $received = POST_BODY $location, content => $expected;
ok t_cmp $received, $expected, "POST cgihandler";
$received = GET_BODY $location;
ok t_cmp $received, $expected, "GET cgihandler";