Lines 96-106
sub call {
Link Here
|
96 |
} |
96 |
} |
97 |
} @setenv_headers; |
97 |
} @setenv_headers; |
98 |
|
98 |
|
99 |
# Finally, everything is shoved into the $env. |
99 |
#Add the environmental variables to the $env hashref which travels between middlewares |
100 |
$env = { |
100 |
#NOTE: It's very important that this $env keeps the same reference address so that |
101 |
%$env, |
101 |
#all middlewares act correctly |
102 |
%setenvs |
102 |
foreach my $key ( keys %setenvs ) { |
103 |
}; |
103 |
$env->{$key} = $setenvs{$key}; |
|
|
104 |
} |
104 |
|
105 |
|
105 |
return $self->app->($env); |
106 |
return $self->app->($env); |
106 |
} |
107 |
} |
107 |
- |
|
|