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 | 142 | $self->proxy->via and $via =~ s[HTTP/][] |
31 | 74 | 1 | 76 | $message->isa('HTTP::Request') and $self->proxy->x_forwarded_for |
63 | 74 | 77 | 0 | $message->isa('HTTP::Request') and defined $headers->header('Max-Forwards') |
line | l | !l | condition |
---|---|---|---|
20 | 144 | 7 | $message->protocol || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
23 | 2 | 140 | 0 | $message->headers->header('Via') || () |