On Friday, 15. September 2006 12:50, Lars Skjærlund wrote: > Do I need to reinvent the wheel, or is there some way that my plugin > can pass the file to the serve_file plugin? The file only exists as a > temporary file and/or a cached file. I can of course leave the temporary > file intact and modify the header, but how do I tell serve_file to clean > up then?
Modifying $self->client->headers_in->filename is the way to go. You can clean up in hook_response_sent. See perldoc lib/Axkit2/Plugin.pm for a list of available hooks -- CU Joerg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]