cavaliergopher / grab

A download manager package for Go
BSD 3-Clause "New" or "Revised" License
1.38k stars 151 forks source link

Cannot download html file #41

Closed kamontat closed 5 years ago

kamontat commented 5 years ago

When I try to download https:/google.com html file.

  1. Resp.Size return 1.4 GiB
kamontat commented 5 years ago

Cause error: bad content length

cavaliercoder commented 5 years ago

Thanks for raising this issue. Can you please help me to reproduce this problem? I don't see the same issue.

kamontat commented 5 years ago

When I try to download html file, error bad content length was threw.

kamontat commented 5 years ago

But the result are fine,

cavaliercoder commented 5 years ago

If you still have this issue, please reopen and provide code samples and URLs so that I can reproduce the issue.