Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

api / api http vary variant binding

An agent that reconstructs an HTTP representation cache needs each claimed cache hit checked against the stored Vary field set and the exact normalized selecting request fields.

POST https://detect.halowerk.com/v1/api/api-http-vary-variant-binding

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "events": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "store",
                  "lookup"
                ],
                "minLength": 1,
                "maxLength": 64
              },
              "resource": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000
              },
              "entry": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000
              },
              "headers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 64
                    },
                    "value": {
                      "type": "string",
                      "minLength": 0,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "name",
                    "value"
                  ],
                  "additionalProperties": false
                },
                "minItems": 0,
                "maxItems": 32
              },
              "vary": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "minItems": 0,
                "maxItems": 32
              },
              "claimed_hit": {
                "type": "integer",
                "minimum": -1,
                "maximum": 1000000
              }
            },
            "required": [
              "kind",
              "resource",
              "entry",
              "headers",
              "vary",
              "claimed_hit"
            ],
            "additionalProperties": false
          },
          "minItems": 0,
          "maxItems": 512
        }
      },
      "required": [
        "events"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "events": [
      {
        "kind": "store",
        "resource": 1,
        "entry": 7,
        "headers": [
          {
            "name": "accept",
            "value": "json"
          }
        ],
        "vary": [
          "accept"
        ],
        "claimed_hit": -1
      },
      {
        "kind": "lookup",
        "resource": 1,
        "entry": 0,
        "headers": [
          {
            "name": "accept",
            "value": "json"
          }
        ],
        "vary": [],
        "claimed_hit": 7
      }
    ]
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →