From: Teemu A. <te...@io...> - 2004-04-28 07:59:53
|
> If you specify a filehandle in $R->{page}{send_file} you must specify > in '$R->{page}{content_type}' otherwise we won't know what to send the > client, and some clients don't like that... I've implemented it with a > default MIME type of unspecified ('application/octet-stream'). Thanks Chris for a fast response to this problem. I was setting the content-type myself anyway. I think no-one would return a filehandle and not set the content-type, since it usually is about returning something for download. application/octet-stream is a good content-type for unknown file downloads, all browsers force the file download dialog with it. -- Sincerely, Teemu Arina Ionstream Oy / Dicole Komeetankuja 4 A 02210 Espoo FINLAND Tel: +358-(0)50 - 555 7636 http://www.dicole.fi |