sjtug / mirror-docker-unified

Infrastructure of SJTUG mirrors
https://mirror.sjtu.edu.cn
Apache License 2.0
50 stars 12 forks source link

RubyInstaller2 mirror always returns status code 308 #378

Closed ccmywish closed 1 year ago

ccmywish commented 1 year ago

For example:

Link is

but redirect to

Many rbenv for Windows users reported that they can't download from PowerShell 5.x series using this link because of the 308 Permanent Redirect status code. However, clicking this link directly from web browser works fine.

So, I'm curious why all links redirect to other locations? Could we settle it?

ccmywish commented 1 year ago

If it is specially designed, please close this issue and I'll try to fix that in our client.

PhotonQuantum commented 1 year ago

Yes, this is intended behavior. We use S3 storage for some repositories and redirect users to its HTTP endpoint for download requests.

Closing for now. Feel free to reopen it if you have further questions.