On Saturday, Feb 22, 2003, at 13:35 Europe/London, Nik Clayton wrote:


# Do stuff to generate the image


        $r->filename($generated_image);
        return DECLINED;

The only thing I can think of is this above. By the time you get to the provider you can't return DECLINED and hope AxKit will let apache deliver the filename you set - it's way too late for that (you'd have to do that bit in your plugin).


If you want to not use the get_fh and let get_strref do the work you *have* to throw an exception. It works like this in AxKit internals:

eval {
  my $fh = $provider->get_fh();
  # process $fh
};
if ($@) {
  my $strref = $provider->get_strref();
  # process $strref
}

I *hope* that helps, but it may not.


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



Reply via email to