Skip to content

Releases: dbyington/httpio

accept 200 as range read response, add context option

28 Oct 11:14
c5b6ec6

Choose a tag to compare

The changes included here

  • Accept a 200 OK response status when requesting a range. It seems some servers will respond with 200 OK, instead of 206 Partial Content, when the range hits the end of the content length.
  • Allow passing in a context via an option.

Fix hashing error checking

06 Oct 20:41
fda2b4b

Choose a tag to compare

What's Changed

Full Changelog: v1.1.7...v1.1.8

Minor fix to hasher

07 Jul 23:49
e25b863

Choose a tag to compare

This prevents leaving a valid http response body open when returning from hashing a url.

What's Changed

  • Defer http response body before doing anything else by @dbyington in #10

Full Changelog: v1.1.6...v1.1.7

Fix hashing final chunk when less than chunk size

22 May 16:13
3faeaba

Choose a tag to compare

This patch release fixes an issue where the hash would be incorrect for the final chunk of the content. This would happen in cases where the chunk size was smaller than the content length and would not split the content evenly, meaning the final chunk size would be less than the chunk size.

Conform to the rules

12 May 22:45
fa222c1

Choose a tag to compare

Merge pull request #7 from dbyington/fix_method_implementation

Fix the HTTPStatus return values

Add a small method for getting request error detail

12 May 22:22
4e80fea

Choose a tag to compare

Merge pull request #6 from dbyington/httpstatus_func

add method HTTPStatus to request error

Empty, for sum.golang caching

12 May 21:57
5cb12a5

Choose a tag to compare

Merge pull request #5 from dbyington/check_head_status_code

check the response code from head to assert status

Set status code in error after head of url

12 May 21:51
5cb12a5

Choose a tag to compare

Merge pull request #5 from dbyington/check_head_status_code

check the response code from head to assert status

Include helpers to get configured values

10 May 18:14
68d2d55

Choose a tag to compare

Merge pull request #4 from dbyington/add-helpers

Add helpers

hash content in chunks concurrently

06 May 19:11
7664af5

Choose a tag to compare

This release goes back to the original method of how HashURL is called, the hash chunk size is now an Option.