On Sunday, Jan 19, 2003, at 20:00 Europe/London, Sebastian Rahtz wrote:

It only sends it for cached requests that get delivered via the
DECLINED stuff, I think. Otherwise it's probably something we can add
to Cache.pm
how, generically, does one add to those return headers?
You can probably do it via a plugin:

package AxKit::Plugin::MyAddHeaders;
use Apache::Constants qw(OK);

sub handler {
  my $r = shift;
  $r->headers_out->set('X-My-Header', 'frobnosticate');
  return OK;
}

1;

And then load via AxAddPlugin.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to