blib/lib/POEx/HTTP/Server/Response.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 20 | 60.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
90 | 5 | 1 | 15 | not defined $self->header('Content-Length') || $self->streaming and $req->method ne 'HEAD' |
94 | 0 | 2 | 13 | defined $c and $c ne '' |
149 | 2 | 0 | 1 | $self->request->method eq 'HEAD' and $size |
160 | 0 | 0 | 1 | $lastmod and $since |
0 | 0 | 1 | $lastmod and $since and $since >= $lastmod |
line | l | !l | condition |
---|---|---|---|
143 | 0 | 0 | $ct ||= 'application/octet-stream' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
90 | 3 | 2 | 16 | defined $self->header('Content-Length') || $self->streaming |