blib/lib/HTTP/Proxy/HeaderFilter/standard.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 14 | 85.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
21 | 2 | 7 | 143 | $self->proxy->via and $via =~ s[HTTP/][] |
31 | 74 | 1 | 77 | $message->isa('HTTP::Request') and $self->proxy->x_forwarded_for |
63 | 74 | 78 | 0 | $message->isa('HTTP::Request') and defined $headers->header('Max-Forwards') |
line | l | !l | condition |
---|---|---|---|
20 | 145 | 7 | $message->protocol || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
23 | 2 | 141 | 0 | $message->headers->header('Via') || () |