[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Tigris Configuration problem with downloading tarballs (was: subversion-1.0.3.tar.gz is not in gzip format)

From: Ben Reser <ben_at_reser.org>
Date: 2004-07-01 21:23:14 CEST

On Fri, May 21, 2004 at 09:32:57PM +0100, Joe Orton wrote:
> On Fri, May 21, 2004 at 11:47:17AM -0600, Jani Averbach wrote:
> > On 2004-05-21 11:31-0600, Michael W Thelen wrote:
> > > Hi all,
> > >
> > > It seems that subversion-1.0.3.tar.gz downloadable from the web site is
> > > not in gzip format. It's just an un-gzipped tar file.
> >
> > Your browser or download software is cheating you. I just downloaded 1.0.3 and:
>
> Really the browser is just doing exactly what it was told by the server:
>
> $ HEAD -e http://subversion.tigris.org/files/documents/15/13430/subversion-1.0.3.tar.gz \
> | grep Content-
> Content-Encoding: x-gzip
> Content-Length: 7228750
> Content-Type: application/x-tar
>
> which means this "an application/x-tar file sent using the gzip
> content-encoding". For some reason this was what Apache did by default
> for ages, it was fixed recently though; it could be fixed in the
> tigris.org config too. Some modern browsers know to ignore it, I guess.

Jason,

The above is an ongoing issue for us. Every couple weeks or so someone
either emails me privately or emails the list saying that the files
aren't really gziped. Sussman told me that they don't have access to
change this on tigris, but says that you do.

Looking at the Apache docs, we just need:
RemoveEncoding .gz
set on http://subversion.tigris.org/tarballs/

This is probably not the right thing to do anyway globally so you may
way to remove the AddEncoding or do a RemoveEncoding .gz globally.

The relevent Apache docs are at:
http://httpd.apache.org/docs-2.0/mod/mod_mime.html#removeencoding

Thanks

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 1 21:25:07 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.