Branch Coverage

blib/lib/HTTP/Proxy/HeaderFilter/standard.pm
Criterion Covered Total %
branch 11 20 55.0


line true false branch
21 143 9 if ($self->proxy->via and $via =~ s[HTTP/][])
31 77 75 if $message->isa('HTTP::Request') and $self->proxy->x_forwarded_for
46 166 1085 if ($h2h{lc $k})
50 143 1108 if ($k =~ /^Client-/)
63 0 152 if ($message->isa('HTTP::Request') and defined $headers->header('Max-Forwards'))
67 0 0 if ($max == 0) { }
0 0 elsif ($method =~ /^(?:TRACE|OPTIONS)/) { }
69 0 0 if ($method eq 'TRACE') { }
0 0 elsif ($method eq 'OPTIONS') { }
93 4 148 if @{$self->proxy->{'body'}{'response'}{'filters'};}