10
10
my $data = join ' ', 'A'..'Z', 0..9;
11
11
my $expected = lc $data; # that's what the input filter does
12
12
$expected =~ s/\s+//g; # that's what the output filter does
13
14
my $location = '/TestFilter__both_str_req_add';
14
15
my $response = POST_BODY $location, content => $data;
15
16
ok t_cmp($expected, $response, "lc input and reverse output filters");