Skip to content

RangeProbe 0.2.0

Choose a tag to compare

@github-actions github-actions released this 07 Nov 11:36
· 8 commits to main since this release

Added

  • A static browser page (web/) that sends the key checks from the browser with fetch()
    (credentials: omit, bounded reads, deadlines, cancel), compares the bytes with slices of a
    local reference file and saves a JSON report. It reports the byte comparison and the header
    evidence it could read as two separate results, and says what a page cannot see (CORS-hidden
    headers, automatic content decoding, the cause of a rejected fetch). See docs/browser.md.
  • Four diagnostics that only the page emits: CONTENT_RANGE_NOT_VISIBLE,
    ENCODING_DECODED_BY_BROWSER, ENCODING_NOT_OBSERVABLE, FETCH_REJECTED.
  • testdata/shared: planner and judging cases that the CLI (internal/parity) and the page
    (web/test) both must satisfy.
  • lab/browser: a local stand with two origins and reproducible routes (correct, hidden
    Content-Range, no CORS, wrong bytes, ignored Range with a 256 MiB response, slow headers and
    body, gzip).

Changed

  • The conditions of BYTES_MISMATCH_REFERENCE, STATUS_206_NO_CONTENT_RANGE,
    NUMBER_OUT_OF_RANGE and CANCELLED now state their meaning for both capture modes. The CLI's
    behaviour is unchanged.