LemonLDAP::NG Web SSO
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
lemonldap-ng/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/API/PSGI/Server.pm

21 lines
545 B

package Lemonldap::NG::Handler::API::PSGI::Server;
use strict;
use base 'Lemonldap::NG::Handler::API::PSGI';
# In server mode, headers are not passed to a PSGI application but returned
# to the server
## @method void set_header_in(hash headers)
# sets or modifies request headers
# @param headers hash containing header names => header value
sub set_header_in {
my ( $class, %headers ) = @_;
for my $k ( keys %headers ) {
$Lemonldap::NG::Handler::API::PSGI::request->{respHeaders}->{$k} =
$headers{$k};
}
}
1;