Update comment
This commit is contained in:
parent
0385422d69
commit
511cef0acd
|
@ -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 ) = @_;
|
||||
|
|
Loading…
Reference in New Issue
Block a user