[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cgiapp] using run mode names to provide file name extensions


> From: news [mailto:suppressed On Behalf Of Mark Stosberg
> 
> I'm generating a ".zip" file through CGI::App today.
> 
> Because I send the "application/zip" mime type with it, it opens in
> The Ark decompression tool on my Linux desktop automatically.
> 
> But Ark is a little confused. It wants to confirm if the non-standard
> extension is correct. This happens because My URL ends like this:
> 

Hi Mark

Are you using CGI::Application::Plugin::Stream? I develop under Windows, so
I can't test Ark, but I normally just do

$self->header_add(-attachment => $arbitrary_file_with_zip_extension});

And it works with WinZip

Dan



---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.