| line |
true |
false |
branch |
|
85
|
0 |
0 |
unless $ENV{'HTTP_USERNAME'} |
|
93
|
0 |
0 |
unless $ENV{'HTTP_PASSWORD'} |
|
101
|
0 |
0 |
unless $ENV{'HTTP_AUTH_TOKEN'} |
|
119
|
0 |
0 |
unless $ENV{'HTTP_CHARSET'} |
|
179
|
0 |
0 |
unless $self->retry_config |
|
279
|
0 |
0 |
$base_url ? : |
|
282
|
0 |
0 |
unless $self->retry->{'status'} |
|
284
|
0 |
0 |
unless $self->debug_flags |
|
294
|
0 |
0 |
if ($debug{'in_out'} or $debug{'send_out'}) |
|
296
|
0 |
0 |
if ($retry_count and $retry) |
|
306
|
0 |
0 |
if $debug{'response_if_fail'} and $response->is_success |
|
308
|
0 |
0 |
if ($debug_response) |
|
314
|
0 |
0 |
$debug{'response_header_only'} ? : |
|
321
|
0 |
0 |
if $response->is_success |
|
323
|
0 |
0 |
unless (%retry_status) |
|
329
|
0 |
0 |
unless my $pattern = $retry_status{$response->code} |
|
334
|
0 |
0 |
if ($response->decode_content =~ /$pattern/) |
|
364
|
0 |
0 |
if (my $error = "$@") |
|
380
|
0 |
0 |
unless $method =~ /get/i |
|
382
|
0 |
0 |
if ($self->username or $self->password) { } |
|
|
0 |
0 |
elsif ($self->auth_token) { } |
|
395
|
0 |
0 |
if ($method =~ /get/i) |
|
396
|
0 |
0 |
$content ? : |
|
403
|
0 |
0 |
unless ($method =~ /get/i) |
|
418
|
1 |
0 |
if ($error =~ /content must be bytes/) |
|
430
|
0 |
0 |
unless ref $data |
|
433
|
0 |
0 |
unless my $ct = $req->content_type |
|
436
|
0 |
0 |
$ct =~ /json/ ? : |
|
460
|
0 |
0 |
defined $default_value && length $default_value ? : |