On Wed, Sep 14, 2022 at 1:25 PM Per Jessen <per@opensuse.org> wrote:
Andrei Borzenkov wrote:
On Wed, Sep 14, 2022 at 12:47 PM Per Jessen <per@opensuse.org> wrote:
Yes, that is to be expected, but the name of the downloaded file should _not_ contain the versioning when the request doesn't.
Why? I already tried to explain that name of downloaded file depends on client
Sorry, yes, it _does_ depend on the client, but I still say when you request one file, you should not end up with another.
OK, it was "should" as in "I expect it ..." vs. "should" as in "I wish it ..." :) Anyway, to eliminate this issue the server must not issue redirects. And it is not enough to stop redirects on get.o.o (or download.o.o), because you cannot control what mirror servers will be doing with symbolic links. This means there should be no symbolic links in the download area. Which I assume will not happen. The least intrusive change is to link all checksum files as well. Then users coming via browser will get (sort of) expected result and users using wget/curl probably can be considered advanced users who can cope with it. Of course it can break someone's workflow involving curl/wget. Although I am pretty sure that last time I looked into this issue at least some browsers used the original filename as well ... so the solution will work until the next browsers behavior change :)