This mirror is owned by China CERNET. It can redirect to the nearest Chinese university mirror repository through a 302 status code based on factors such as telecom operators and distance.
I hope this problem in the official client can be fixed so that it can also be added when the status code is 302, as long as it is available in the end. In contrast, third-party clients such as Droid-ify and Neo Store can be added normally.
I’m sorry that I can’t raise an issue on gitlab, because gitlab cannot register and verify via Chinese mobile phone numbers.
For example, the distance between my home and my university is one thousand kilometers, so the fastest mirror site is different. In order to ensure a good download experience everywhere, I need to add two or even more, which is a lot more troublesome.
If the official client is not going to be revised, then I can only continue to use and recommend third-party clients like Droid-ify to others.
I thought you can simply use third-party clients. I hardly ever see Chinese users using the official client.
The f-droid.org website is blocked but those mirrors are still accessiable and some of them are very fast, even faster than those Chinese mirrors. And the main mirrors are updated immediately after the repo is updated while those Chinese mirrors can take several hours to sync.
I know that this will definitely lead to off-topic discussion. Let’s put this aside for now and I’ll open a new thread later.
Now I’m asking whether it is possible to follow redirects when adding a repository. If not, what are the considerations? Security or other issues?
Not supporting 302 Redirects is about privacy and reducing complexity. The F-Droid client is not a web browser, and does not support the full HTTP spec.
For anyone looking to add a bunch of mirrors to try, I can recommend going to F-Droid Mirror Monitor then click on the “Deep Link” and it should be very quick and easy.