Skip to content

download: use net/http instead of wget by default. #11

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

Closed
wants to merge 1 commit into from

Conversation

cubicdaiya
Copy link
Owner

refs #1

if err != nil {
return err
}
req.Header.Set("Accept-Encoding", "gzip")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this necessary? This header is added by net/http.Transport.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's my mistake. Thanks. BTW, this PR is not active.

@cubicdaiya cubicdaiya closed this Jul 17, 2017
@cubicdaiya
Copy link
Owner Author

Continue #25

@cubicdaiya cubicdaiya deleted the http-get-instead-of-wget branch June 18, 2022 05:26
@cubicdaiya cubicdaiya restored the http-get-instead-of-wget branch June 18, 2022 05:26
@cubicdaiya cubicdaiya deleted the http-get-instead-of-wget branch June 18, 2022 05:27
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

Successfully merging this pull request may close these issues.

2 participants