| blib/lib/Dancer2/Plugin/HTTP/ConditionalRequest.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 24 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 204 | 0 | 0 | 0 | $args->{'etag'} and not $self->app->request->header('If-Match') |
| 207 | 0 | 0 | 0 | $args->{'last_modified'} and not $self->app->request->header('If-Unmodified-Since') |
| 335 | 0 | 0 | 0 | $self->app->request->method eq 'GET' || $self->app->request->method eq 'HEAD' and not defined $self->app->request->header('If-None-Match') |
| 0 | 0 | 0 | $self->app->request->method eq 'GET' || $self->app->request->method eq 'HEAD' and not defined $self->app->request->header('If-None-Match') and defined $self->app->request->header('If-Modified-Since') |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 312 | 0 | 0 | 0 | $self->app->request->method eq 'GET' or $self->app->request->method eq 'HEAD' |
| 335 | 0 | 0 | 0 | $self->app->request->method eq 'GET' || $self->app->request->method eq 'HEAD' |
| 386 | 0 | 0 | 0 | $self->app->request->method eq 'GET' or $self->app->request->method eq 'HEAD' |
| 416 | 0 | 0 | 0 | $_[0]->app->request->method eq 'GET' || $_[0]->app->request->method eq 'HEAD' || $_[0]->app->request->method eq 'OPTIONS' || $_[0]->app->request->method eq 'TRACE' |