[systemd-devel] About github repo and release tarball change
Daniel Mack
daniel at zonque.org
Thu Jul 9 07:55:02 PDT 2015
On 07/09/2015 09:28 AM, Armin K. wrote:
> On 09.07.2015 12:32, Andrei Borzenkov wrote:
>> I clicked on release link and it downloaded file with name
>> systemd-222.tar.gz. I see that there could be an issue with dumb cli
>> clients not following redirections probably.
>>
>
> I suppose it's a github issue doing some black magic in the background.
That's actually well-defined web technology. The web server can tell the
client both the content type and the preferred file name, and that's
what all modern browser look at. You can inspect those headers with
"wget -S":
$ wget -S https://github.com/systemd/systemd/archive/v222.tar.gz
[...]
Content-Type: application/x-gzip
Content-Disposition: attachment; filename=systemd-222.tar.gz
[...]
Now, wget doesn't use that information by default, but can be told to do
so with the "--content-disposition" command line parameter. That works
fine here.
HTH,
Daniel
More information about the systemd-devel
mailing list