blib/lib/App/MatrixTool/HTTPClient.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 17 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
219 | 0 | 0 | 0 | $name eq 'http' and $self->{'print_response'} |
line | l | !l | condition |
---|---|---|---|
194 | 0 | 0 | $port // 443 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
57 | 0 | 0 | 0 | $self->{'ua'} ||= do { require IO::Async::SSL; require Net::Async::HTTP; require HTTP::Request; my $ua = 'Net::Async::HTTP'->new('SSL_verify_mode', 0, 'fail_on_error', 1); $self->{'loop'}->add($ua); $ua } |
99 | 0 | 0 | 0 | $errnum == 1 or $errnum == 2 |
154 | 0 | 0 | 0 | $params{'request'} // 'HTTP::Request'->new($params{'method'}, $uri, ['Host', $params{'server'}]) |
166 | 0 | 0 | 0 | delete $params{'content_type'} // croak(q[Non-reference content needs 'content_type']) |