lib/Catalyst/TraitFor/Request/REST.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 14 | 100.0 |
line | true | false | branch |
---|---|---|---|
109 | 33 | 14 | if $self->content_type and $self->content_type_allowed |
116 | 4 | 32 | if ($self->method eq 'GET' and $self->param('content-type') and $self->accept_allowed) |
126 | 20 | 27 | if ($self->header('Accept') and $self->accept_allowed) |
127 | 10 | 10 | unless keys %types |
134 | 4 | 64 | if $types{$type} |
139 | 30 | 34 | unless (defined $pair->[2] and lc $pair->[2] eq 'q') |
143 | 30 | 34 | unless (defined $qvalue) |