| lib/Catalyst/TraitFor/Request/REST/ForBrowsers.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 12 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 56 | 4 | 17 | if $with and grep {$with eq $_;} 'HTTP.Request', 'XMLHttpRequest' |
| 59 | 16 | 1 | if (uc $self->method eq 'GET') |
| 61 | 2 | 14 | if $forced_type and not $HTMLTypes{$forced_type} |
| 67 | 2 | 13 | if $self->accepts('*/*') |
| 71 | 7 | 6 | if grep {$self->accepts($_);} keys %HTMLTypes |
| 74 | 4 | 2 | if @{$self->accepted_content_types;} |