Posted by John Dunlop on 03/18/06 14:57
NC:
> aljosa.mohorovic@gmail.com wrote:
>
> > header('Content-Disposition: attachment');
>
> I think you're supposed to specify a file name here:
RFC2183 says the filename parameter is optional, though whether that
has any bearing on what you are supposed to include in the header
fields of an HTTP message is another question.
> > header('Accept-Charset: UTF-8');
>
> I am not sure "Accept-Charset:" header is appropriate when serving
> binary files...
Since Accept-Charset is defined only as a request-header, it is
meaningless in a response (unless there is a private agreement which
assigns it a meaning).
--
Jock
[Back to original message]
|