[Rpcemu] RPCEmu 0.8.10
ralph at inputplus.co.uk
Thu Mar 28 12:05:20 PDT 2013
> Andre Timmermans wrote:
> > Regarding the source archive I can actually open it if I change its
> > extension from .tar.gz fro .tar.
> Odd. It's definitely a gzipped tar and not an uncompressed one
I suspect Andre's method of download decompressed it when creating the
local file but didn't change the filename. I think it was mislead by
incorrect headers from the marutan.net server.
$ curl -sSI 'http://www.marutan.net/rpcemu/cgi/download.php?sFName=0.8.10/rpcemu-0.8.10.tar.gz'
HTTP/1.1 302 Found
Date: Thu, 28 Mar 2013 18:45:51 GMT
Content-Type: text/html; charset=utf-8
$ curl -sSI http://www.marutan.net/rpcemu/0.8.10/rpcemu-0.8.10.tar.gz
HTTP/1.1 200 OK
Date: Thu, 28 Mar 2013 18:46:04 GMT
Last-Modified: Wed, 27 Mar 2013 17:05:29 GMT
The `Content-Encoding: x-gzip' means that the data transferred has been
gzip'd and must be gunzip'd to obtain the `Content-Type:
application/x-gzip'; IOW, it's been double-gzip'd. Unfortunately, it
hasn't, nor would it make sense to do so, so the gunzip leaves a
non-gzip'd tar file called rpcemu-0.8.10.tar.gz.
Modern browsers, e.g. Firefox, have workarounds for broken servers.
is a little more background.
> and on my Linux box it decompresses fine whether it has a .tar or
> .tar.gz extension or no extension at all.
That's just a modern GNU tar looking at the file's contents rather than
relying on the filename.
More information about the Rpcemu