Re: File types

"David Phillips" <[email protected]> Fri, 20 Jun 2003 10:11:32 -0500
Newsgroups gmane.comp.djb.publicfile
Message-ID <006001c3373e$3b788500$0201a8c0@brinstar>
Henrique Araujo writes:
> How can I control file types of files served by httpd? For instance, I
> have the file FILE.GZ, which is an application/x-gzip type, but
> publicfile serves it as text/html, thus preventing browsers from
> opening the 'Save as' dialog.

Name it "FILE.gz" and it will have the correct Content-Type.

> I really couldn't understand the
> information at <http://cr.yp.to/publicfile/filetypes.html>.

What about it was confusing?

-- 
David Phillips <[email protected]>
http://david.acz.org/