line |
true |
false |
branch |
13
|
0 |
0 |
if $opt->{'headers'} |
15
|
0 |
0 |
if $opt->{'agent'} |
16
|
0 |
0 |
if $opt->{'referer'} |
18
|
0 |
0 |
if ($opt->{'compressed'} or $opt->{'gzip'}) |
24
|
0 |
0 |
if keys %headers |
25
|
0 |
0 |
if $opt->{'timeout'} |
27
|
0 |
0 |
if (defined $opt->{'max_redirect'}) { } |
33
|
0 |
0 |
if (my $proxy = $opt->{'proxy'}) |
34
|
0 |
0 |
if ($proxy =~ /^socks/) { } |
|
0 |
0 |
elsif ($proxy =~ m[^(\w+://)?(.+):(\d+)$]) { } |
38
|
0 |
0 |
if ($1) { } |
46
|
0 |
0 |
if ($opt->{'cookie'}) { } |
|
0 |
0 |
elsif (defined $opt->{'cookie'}) { } |
52
|
0 |
0 |
if exists $opt->{'persistent'} |
61
|
0 |
0 |
if ($max_size or $on_header or $on_body) |
73
|
0 |
0 |
if ($opt->{'compressed'} || $opt->{'gzip'} and $content_encoding) |
74
|
0 |
0 |
if ($content_encoding eq 'deflate') { } |
|
0 |
0 |
elsif ($content_encoding eq 'gzip') { } |
82
|
0 |
0 |
if ($on_header) |
83
|
0 |
0 |
unless &$on_header($is_success, $h, $redirects) |
91
|
0 |
0 |
unless $on_body |
92
|
0 |
0 |
if ($headers_got and $max_size and $body_from_on_body_length > $max_size) |
95
|
0 |
0 |
if ($headers_got and $on_body) |
96
|
0 |
0 |
if ($inflate) { } |
98
|
0 |
0 |
unless $status == Compress::Raw::Zlib::Z_OK() or $status == Compress::Raw::Zlib::Z_STREAM_END() |
99
|
0 |
0 |
if ($output) |
100
|
0 |
0 |
unless &$on_body($output) |
103
|
0 |
0 |
unless &$on_body($partial_body) |
110
|
0 |
0 |
if ($method eq "POST") |
122
|
0 |
0 |
unless ($body) |
123
|
0 |
0 |
if ($status >= 590) { } |
|
0 |
0 |
elsif (@body_from_on_body) { } |
126
|
0 |
0 |
if ($status == 598) |
139
|
0 |
0 |
if ($body and $opt->{'compressed'} || $opt->{'gzip'} and $content_encoding) { } |
140
|
0 |
0 |
if ($content_encoding eq "deflate" or $content_encoding eq "gzip") |
141
|
0 |
0 |
$content_encoding eq 'gzip' ? : |
143
|
0 |
0 |
unless $status == Compress::Raw::Zlib::Z_OK() or $status == Compress::Raw::Zlib::Z_STREAM_END() |
160
|
0 |
0 |
$status >= 200 && $status < 300 ? : |
171
|
0 |
0 |
if (my $r = $h->{'Redirect'}) { } |