Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-validate should not use HEAD requests #22

Open
axw opened this issue Jun 30, 2023 · 1 comment
Open

-validate should not use HEAD requests #22

axw opened this issue Jun 30, 2023 · 1 comment

Comments

@axw
Copy link
Member

axw commented Jun 30, 2023

Per https://go.dev/ref/mod#go-get, the HTTP GET method should be used with ?go-get=1 for identifying the VCS location for a vanity domain. -validate is issuing a HEAD request, which has recently started failing for go.uber.org modules.

@lahsivjar
Copy link

2023/08/28 13:11:15 ERROR: Invalid URL [https://go.uber.org/zap] for dependency [go.uber.org/zap]: request returned status code 404
2023/08/28 13:11:18 ERROR: Invalid URL [https://gonum.org/v1/gonum] for dependency [gonum.org/v1/gonum]: request returned status code 404
2023/08/28 13:11:18 ERROR: Invalid URL [https://go.uber.org/multierr] for dependency [go.uber.org/multierr]: request returned status code 404
2023/08/28 13:11:22 ERROR: Invalid URL [https://howett.net/plist] for dependency [howett.net/plist]: request returned status code 404

Some more failing modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants