11 sub (GET) { [ 200, [], [ $_[PSGI_ENV]->{PATH_INFO} ] ] }
13 sub (POST) { [ 200, [], [ $_[PSGI_ENV]->{PATH_INFO} ] ] }
17 my $app = TestApp->new->to_psgi_app;
19 my $call = sub { $app->({
20 SCRIPT_NAME => '/base', PATH_INFO => '/foo/bar', REQUEST_METHOD => shift
23 is($call->('GET'), '/bar', 'recursive strip ok');
24 is($call->('POST'), '/foo/bar', 'later dispatchers unaffected');