-
Notifications
You must be signed in to change notification settings - Fork 498
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
Make the go CLI respect "redirect" HTML metadata tags #350
Comments
cc/ @bketelsen - we have discussed embedding or adding configuration to the go CLI to respect "built in" (or configurable) URLs for public registries |
@arschles why do we need this? What scenario is not currently working? |
@marwan-at-work right now if you So that means that we can't send the Hopefully I've made sense here! |
@arschles if Here's an example from my local machine gopkg.in vanity
regular vanity
|
@marwan-at-work we've talked about redirecting in other ways than the meta tag (#474). we could use the 301 described in #474 instead of this approach if we want. do you think it's appropriate to close this? |
yes, closing. |
When GOPROXY is set, the go CLI won't do a
?go-get=1
request and so won't get the HTML redirect metadata. We need it to do that so that the registry works out of the box. Ideally, I'd like the go CLI to have another setting (or hard-coded) a URL to the registry that it hits with?go-get=1
, so that we can serve the HTMLThis is a continuation of #241
The text was updated successfully, but these errors were encountered: