Update comment

This commit is contained in:
Christophe Maudoux 2019-04-09 14:36:20 +02:00
parent 0385422d69
commit 511cef0acd

View File

@ -625,7 +625,7 @@ sub isUnprotected {
}
## @rmethod void sendHeaders()
# Launch function compiled by forgeHeadersInit() for the current virtual host
# Launch function compiled by headersInit() for the current virtual host
sub sendHeaders {
my ( $class, $req, $session ) = @_;
my $vhost = $class->resolveAlias($req);
@ -639,7 +639,6 @@ sub sendHeaders {
$class->logger->debug("Send header $h with value $v");
}
else {
$headers{$h} = '';
$class->logger->debug("Send header $h with empty value");
}
}
@ -648,7 +647,7 @@ sub sendHeaders {
}
## @rfunction array ref checkHeaders()
# Return computed headers by forgeHeadersInit() for the current virtual host
# Return computed headers by headersInit() for the current virtual host
# [ { key => 'header1', value => 'value1' }, { key => 'header2', value => 'value2' }, ...]
sub checkHeaders {
my ( $class, $req, $session ) = @_;