blib/lib/Mojolicious/Plugin/MountPSGI/Proxy.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 21 | 26 | 80.7 |
line | true | false | branch |
---|---|---|---|
23 | 8 | 3 | if (ref $plack_res eq 'ARRAY') |
31 | 0 | 3 | unless ref $plack_res eq 'CODE' |
41 | 1 | 2 | unless $streaming |
45 | 1 | 1 | $chunked ? : |
64 | 2 | 9 | if ($content->is_multipart) { } |
69 | 0 | 13 | unless defined $chunk |
71 | 2 | 11 | unless $len |
78 | 0 | 11 | unless open my $input, '<', \$body |
90 | 7 | 15 | unless exists $headers{"HTTP_$key"} |
96 | 1 | 10 | if ($rewrite) |
97 | 1 | 0 | if $path =~ s/\Q$rewrite\E//u |
98 | 1 | 0 | unless $path =~ m[^/]u |
138 | 9 | 2 | if (@$psgi_res == 3) { } |