[prev in list] [next in list] [prev in thread] [next in thread]
List: cgiapp
Subject: Header setting
From: Stelian Iancu <stelian.iancu () gmx ! net>
Date: 2002-12-07 8:40:20
[Download RAW message or body]
Hello!
I want to allow the user to download some file from my server and I need
to set the headers from my CGI::App. I need to set this into the
headers:
Content-type: application/octet-stream
Content-Disposition: attachment\; filename=$file
How do I do that? The "application/octet-stream" I guess I can set with:
$self->header_props(-type=>'application/octet-stream')
But what are the options for content-disposition?
Thanks!
--
Regards,
Stelian I.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic