line |
true |
false |
branch |
32
|
0 |
9 |
unless $self->url |
34
|
4 |
5 |
if ($self->url =~ /^https:/ or $self->ssl) |
48
|
0 |
0 |
if (my $headers = $options{'http_headers'}) |
50
|
0 |
0 |
if (ref $headers eq 'ARRAY') { } |
57
|
0 |
0 |
unless (defined $key and defined $value) |
74
|
0 |
0 |
unless ($res->{'success'}) |
80
|
0 |
0 |
if ($status == 599) |
85
|
0 |
0 |
unless ($can_ssl) |
87
|
0 |
0 |
if ($res->{'redirects'}) |
90
|
0 |
0 |
if (defined $redirect->{'headers'}{'location'} and $redirect->{'headers'}{'location'} =~ /^https:/) |
109
|
0 |
0 |
if (my $disposition = $res->{'headers'}{'content-disposition'}) |
113
|
0 |
0 |
if ($disposition =~ /filename="([^"]+)"/ or $disposition =~ /filename=([^\s]+)/) |
119
|
0 |
0 |
if ($type eq 'text/html') { } |