Skip to content

Releases: h3h/http_range

Support Optional First/Last & More Characters in Range Endpoints

Choose a tag to compare

@h3h h3h released this 23 Sep 23:27

New Features:

  • First and last endpoints are now optional and nil if missing
  • Allow more characters in range endpoints, including .

Fix: Allow Requiring of Middleware Directly

Choose a tag to compare

@h3h h3h released this 19 Sep 00:23

Bug Fixes:

  • Allow apps to require 'http_range/middleware/accept_ranges' directly.

Add Rack Middleware

Choose a tag to compare

@h3h h3h released this 19 Sep 00:08

New Features:

  • Added HTTPRange::Middleware::AcceptRanges middleware for quickly parsing Range headers in a Rack application.

Bug Fixes:

  • Passing a nil value to HTTPRange.parse() now correctly raises HTTPRange::MalformedRangeHeaderError instead of a native Ruby exception.

Initial Release

Choose a tag to compare

@h3h h3h released this 19 Sep 00:05

Just a Ruby method interface: HTTPRange.parse(string).