Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

proxy: downloader client must follow HTTP redirects #140

Open
shoenig opened this issue Jun 18, 2019 · 0 comments
Open

proxy: downloader client must follow HTTP redirects #140

shoenig opened this issue Jun 18, 2019 · 0 comments

Comments

@shoenig
Copy link
Contributor

shoenig commented Jun 18, 2019

If a go-get redirecting domain itself incurs a normal HTTP redirect, the client fails to follow that redirect first

$ curl -v https://gonum.org/v1/netlib 2>/dev/null | grep Redir
Redirecting to https://www.gonum.org/v1/netlib
$ curl -s $GOPROXY/v1/problems/downloads | jq -r '.[] | select(.module.source=="gonum.org/v1/netlib")'
{
  "module": {
    "source": "gonum.org/v1/netlib",
    "version": "v0.0.0-20190313105609-8cb42192e0e0"
  },
  "time": "2019-06-18T16:56:17.740030207-05:00",
  "message": "no path transformation exists for domain gonum.org"
}
{
  "module": {
    "source": "gonum.org/v1/netlib",
    "version": "v0.0.0-20190331212654-76723241ea4e"
  },
  "time": "2019-06-18T16:56:17.826079531-05:00",
  "message": "no path transformation exists for domain gonum.org"
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant