Closed jukie closed 1 day ago
Same issue.
@Jukie thanks again for the contribution, and for sticking with me on the additional time. I understand the need here. Go-Getter is written with the idea that all consumers will interact via the Client with a source URL that will get parsed and transformed into the underlying URL. But in this case it appears that you are trying to use the HTTPGetter directly, which does not allow for setting a URL at all. Please let me know if I'm misunderstanding the need for the request.
No longer needed
Field
u
should be exported in order to set the url when building a request. The current tests only function because it's executing from the same package: https://github.com/hashicorp/go-getter/blob/492324ccc87bf5c9459c6a137bd70a38cf792787/get_http_test.go#L42-L47