| blib/lib/Dancer2/Handler/File.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 0 | 22 | 0.0 |
| line | true | false | branch |
|---|---|---|---|
| 71 | 0 | 0 | unless $self->_public_dir_path->is_dir |
| 90 | 0 | 0 | if ($path =~ /\0/) |
| 94 | 0 | 0 | if ($prefix and $prefix ne "/") |
| 100 | 0 | 0 | unless defined $file_path_str |
| 102 | 0 | 0 | unless (-f $file_path_str) |
| 107 | 0 | 0 | unless (-r $file_path_str) |
| 119 | 0 | 0 | if ($content_type =~ m[^text/]) |
| 125 | 0 | 0 | unless $app->response->header("Content-Type") |
| 128 | 0 | 0 | unless $app->response->header("Content-Length") |
| 131 | 0 | 0 | unless $app->response->header("Last-Modified") |
| 140 | 0 | 0 | $app->request->method eq 'GET' ? : |