modifyHeaderHandler( \%headers, $query )
-
\%headers - reference to a hash of existing header values
-
$query - reference to CGI query object
Lets the plugin modify the HTTP headers that will be emitted when a
page is written to the browser. \%headers= will contain the headers
proposed by the core, plus any modifications made by other plugins that also
implement this method that come earlier in the plugins list.
$headers->{expires} = '+1h';
Note that this is the HTTP header which is
not the same as the
HTML
<HEAD> tag. The contents of the <HEAD> tag may be manipulated
using the
TWiki::Func::addToHEAD method.
Since: TWiki::Plugins::VERSION 1.026