| line |
true |
false |
branch |
|
74
|
1 |
6 |
if ($self->{'credentials'} and grep {$_ eq "*";} @{$$self{"origins"};}) |
|
88
|
0 |
3 |
if ($scope->{'type'} ne "http") |
|
97
|
1 |
2 |
if ($scope->{'method'} eq "OPTIONS" and $origin) |
|
103
|
1 |
1 |
if ($origin and $self->_is_origin_allowed($origin)) { } |
|
106
|
1 |
1 |
if ($event->{'type'} eq "http.response.start") |
|
123
|
1 |
0 |
if ($self->_is_origin_allowed($origin)) |
|
150
|
0 |
2 |
if (grep {$_ eq '*';} @{$$self{'origins'};}) { } |
|
151
|
0 |
0 |
$self->{'credentials'} ? : |
|
158
|
1 |
1 |
if ($self->{'credentials'}) |
|
162
|
0 |
2 |
if (@{$self->{'expose_headers'};}) |
|
173
|
0 |
3 |
if grep {$_ eq "*";} @{$$self{"origins"};} |
|
174
|
2 |
1 |
if grep {$_ eq $origin;} @{$$self{"origins"};} |
|
183
|
3 |
0 |
if lc $h->[0] eq $name |