Created
March 2, 2018 04:50
-
-
Save dannolan/c99bd13e4982fbc2856f8420d180e3d0 to your computer and use it in GitHub Desktop.
Go Range Request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
req, _ := http.NewRequest("GET", url, nil) | |
req.Header.Add("Range", "bytes=0-5088") | |
var client http.Client | |
resp, _ := client.Do(req) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment