blib/lib/Plack/Middleware/AddDefaultCharset.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 3 | 4 | 75.0 |
line | true | false | branch |
---|---|---|---|
21 | 3 | 0 | if (lc $$headers[$i] eq 'content-type') |
23 | 1 | 2 | if ($cur_type =~ m[^text/(html|plain)] and not $cur_type =~ /;\s*charset=/) |