isn't it going to skip the last byte? Shouldn't it be like
` if i != (threads - 1) {
rangeheader = "bytes=" + strconv.Itoa(min) +"-" + strconv.Itoa(max-1) // Add the data for the Range header of the form "bytes=0-100"
}else {
rangeheader = "bytes=" + strconv.Itoa(min) +"-" + strconv.Itoa(max) // Add the data for the Range header of the form "bytes=0-100"
This is a nice one. However, with the line
range_header := "bytes=" + strconv.Itoa(min) +"-" + strconv.Itoa(max-1)`,
isn't it going to skip the last byte? Shouldn't it be like
` if i != (threads - 1) {
rangeheader = "bytes=" + strconv.Itoa(min) +"-" + strconv.Itoa(max-1) // Add the data for the Range header of the form "bytes=0-100"
}else {
rangeheader = "bytes=" + strconv.Itoa(min) +"-" + strconv.Itoa(max) // Add the data for the Range header of the form "bytes=0-100"
`