Skip to content
HALOWERK

Codewerk

http vary cache key risk

Return supplied response variants that collide under the declared Vary cache key. Local data only.

POST https://code.halowerk.com/v1/http-vary-cache-key-risk

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
varyarrayYes
samplesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "vary": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 256,
        "minLength": 1
      },
      "maxItems": 20,
      "minItems": 0
    },
    "samples": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "headers": {
            "type": "object",
            "maxProperties": 20,
            "additionalProperties": {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            }
          },
          "body_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          }
        },
        "required": [
          "headers",
          "body_sha256"
        ],
        "additionalProperties": false
      },
      "maxItems": 30,
      "minItems": 1
    }
  },
  "required": [
    "vary",
    "samples"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "vary": [
    "Accept-Language"
  ],
  "samples": [
    {
      "headers": {
        "Accept-Language": "de",
        "Accept-Encoding": "gzip"
      },
      "body_sha256": "9c64f68fd30729a907e48bb1cfac5b1d95bb281e915c680f4596099c7dbd0354"
    },
    {
      "headers": {
        "Accept-Language": "de",
        "Accept-Encoding": "br"
      },
      "body_sha256": "9eaed55b3f73b5ce68bd501935551828b4be73de9b860eff2df9884c290b7159"
    }
  ]
}

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 โ†’