[Catalyst] How to send raw HTTP response

Lee Aylward lee at laylward.com
Sat Sep 27 23:13:33 BST 2008


On Sat, Sep 27, 2008 at 04:25:51PM -0500, Chris Devine wrote:
> 
> All,
> 
> Using a method like this, how would you set the filename of the downloaded
> data in the browser?
> 
> Thanks,
> Chris
> 

You could set a Content-Disposition header, though I don't think that
is respected by all clients.

http://www.ietf.org/rfc/rfc2183.txt

Otherwise it will just use the filename found in the URL.

-- 
Lee Aylward
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080927/4f9d410c/attachment.pgp


More information about the Catalyst mailing list