Commit 511cef0a authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Update comment

parent 0385422d
......@@ -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 ) = @_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment