httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: .tgz MIME type?
Date Sun, 05 Dec 1999 13:58:22 GMT
Greg Stein wrote:
> 
> On Sat, 4 Dec 1999, Ben Laurie wrote:
> > Martin Kraemer wrote:
> > > On Thu, Dec 02, 1999 at 09:39:31PM +0000, Ben Laurie wrote:
> > > > Should it be set to application/octet-stream? Or what?
> > >
> > > I'd say the Content-Type is application/x-tar, just like .tar
> > > Only the Content-Encoding is gzip. Or am I mistaken?
> >
> > Hmm. A Content-Encoding of gzip would only be appropriate if one
> > expected the client to unzip it as it arrived (and magically rename it
> > to .tar?). So I'd say that isn't right.
> 
> I agree. Content-Encoding should not be used.
> 
> > The Content-Type is, in fact, a compressed tar, but there doesn't seem
> > to be a way to say that.
> 
> Well, there *is* a way. It just appears there is not a standard MIME type
> for it.
> 
> Call it "application/x-tar-gzip" or something.
> 
> Worst case, we could say "application/vnd.asf.tar-gzip", but I think this
> is common, rather than vendor-specific.

Or register it with IANA like proper people do.

Cheers,

Ben.

--
SECURE HOSTING AT THE BUNKER! http://www.thebunker.net/hosting.htm

http://www.apache-ssl.org/ben.html

"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi

Mime
View raw message