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

Re: gunzip: subversion-1.4.0.tar.gz: unexpected end of file

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-10-19 20:52:31 CEST

On Oct 19, 2006, at 08:13, Jeremy Pereira wrote:

> NB, when I downloaded the file it had an extra .tar extension. i.e.
> it was called subversion-1.4.0.tar.gz.tar. Maybe this confused
> your browser/downloader.

This would happen if you download with the Safari web browser for Mac
OS X, for example. The reason is that the web server is
misconfigured. For the file http://subversion.tigris.org/downloads/
subversion-1.4.0.tar.gz, the server sends the header "Content-Type:
application/x-tar", but this is incorrect. The file is not a tar
file; it is a gzip-compressed tar file. The correct content-type for
this file is application/x-gzip.

Safari sees the application/x-tar content-type, sees that the
filename does not end with the extension ".tar" which it knows tar
files must end with, and "helpfully" adds the .tar extension.

The solution is to configure the web server properly to send the
correct content-type. Should I report a bug in the www project on
tigris.org for this?

It would be nice if Safari would not add the .tar extension in this
particular case (content-type application/x-tar but
extension .tar.gz), and I will investigate the problem further and
send a bug report to Apple.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 19 20:53:44 2006

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

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