Skip to content
HALOWERK

Codewerk

http range response plan

Return satisfiable inclusive byte ranges and data length for a supplied Range request. Local data only.

POST https://code.halowerk.com/v1/http-range-response-plan

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
rangestringYes
lengthintegerYes
mergebooleanYes
Show full input schema
{
  "type": "object",
  "properties": {
    "range": {
      "type": "string",
      "maxLength": 512,
      "minLength": 1
    },
    "length": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000000
    },
    "merge": {
      "type": "boolean"
    }
  },
  "required": [
    "range",
    "length",
    "merge"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "range": "bytes=0-9,8-19,-5",
  "length": 100,
  "merge": true
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’