line |
true |
false |
branch |
177
|
0 |
0 |
unless ($coderef and ref $coderef eq 'CODE')
|
189
|
0 |
0 |
unless $args->{'required'}
|
201
|
0 |
0 |
if ($self->http_method_is_nonsafe) { }
|
205
|
0 |
0 |
if $args->{'etag'} and not $self->app->request->header('If-Match')
|
208
|
0 |
0 |
if $args->{'last_modified'} and not $self->app->request->header('If-Unmodified-Since')
|
237
|
0 |
0 |
if (defined $self->app->request->header('If-Match'))
|
241
|
0 |
0 |
unless exists $args->{'etag'}
|
245
|
0 |
0 |
if ($self->app->request->header('If-Match') eq $args->{'etag'}) { }
|
264
|
0 |
0 |
if (defined $self->app->request->header('If-Unmodified-Since'))
|
268
|
0 |
0 |
unless exists $args->{'last_modified'}
|
273
|
0 |
0 |
unless defined $rqst_date
|
278
|
0 |
0 |
$args->{'last_modified'}->isa('DateTime') ? :
|
279
|
0 |
0 |
unless defined $last_date
|
284
|
0 |
0 |
if ($rqst_date > $last_date) { }
|
302
|
0 |
0 |
if (defined $self->app->request->header('If-None-Match'))
|
306
|
0 |
0 |
unless exists $args->{'etag'}
|
310
|
0 |
0 |
if ($self->app->request->header('If-None-Match') ne $args->{'etag'}) { }
|
313
|
0 |
0 |
if ($self->app->request->method eq 'GET' or $self->app->request->method eq 'HEAD') { }
|
336
|
0 |
0 |
if ($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'))
|
346
|
0 |
0 |
unless exists $args->{'last_modified'}
|
351
|
0 |
0 |
unless defined $rqst_date
|
356
|
0 |
0 |
$args->{'last_modified'}->isa('DateTime') ? :
|
357
|
0 |
0 |
unless defined $last_date
|
362
|
0 |
0 |
if ($rqst_date < $last_date) { }
|
387
|
0 |
0 |
if ($self->app->request->method eq 'GET' or $self->app->request->method eq 'HEAD')
|
390
|
0 |
0 |
if (exists $args->{'etag'})
|
393
|
0 |
0 |
if (exists $args->{'last_modified'})
|
396
|
0 |
0 |
$args->{'last_modified'}->isa('DateTime') ? :
|
397
|
0 |
0 |
unless defined $last_date
|