Andrei Borzenkov wrote:
On Wed, Sep 14, 2022 at 1:25 PM Per Jessen
wrote: Andrei Borzenkov wrote:
On Wed, Sep 14, 2022 at 12:47 PM Per Jessen
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 ..." :)
GRIN.
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.
Hmm, wait. The issue is the 302 redirect to the versioned file, isn't it? When a user requests : "d.o.o:/distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Media.iso" he is given an http 302 redirect to: "d.o.o:/distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Build243.2-Media.iso" and eventually also to the mirror with that file. Unfortunately clients don't agree on how to work with that. I wonder if this is something specific to mirrorbrain/cache ? When I use Firefox to download directly from a mirror: "http://mirror.hostsuisse.com/opensuse/distribution/leap/15.4/iso/openSUSE-Le..." there is no redirect, and I get a file called "openSUSE-Leap-15.4-DVD-x86_64-Media.iso".
The least intrusive change is to link all checksum files as well. Then users coming via browser will get (sort of) expected result
I think that's what I tried to say in one of my first responses in this thread, talking to Stephan. -- Per Jessen, Zürich (23.1°C) Member, openSUSE Heroes