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

proxy: downloader client must follow HTTP redirects  #140

Description

@shoenig

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"
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions