{"uid":"cap_d4FKUuiBUOr6dgIhFGbpt","slug":"vary-header-normalize-13793a7c","name":"Vary Header Normalize","description":"Vary Header Normalize: Vary Header Normalize normalizes and deduplicates Vary header field names from bounded caller-supplied values without an external provider. Call Vary Header Normalize before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for Vary Header Normalize as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-onl…","url":"https://api.delx.ai/api/v1/x402/vary-header-normalize?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"header":{"type":"string","maxLength":8192,"description":"Header supplied to Vary Header Normalize; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"tokens":["accept-encoding","origin"],"normalized":"accept-encoding, origin"},"schema":"delx/util-vary-header-normalize/v1","status":"pass","evidence":{"retained":false,"input_sha256":"939169b314b2600276b55d910c792908209d28331261b7f22bab533cf1e6cd07","external_calls":0},"operation":"web_reliability:vary_header_normalize"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HoXfVbAEx8E99QIfEu1Pd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes and deduplicates HTTP Vary header field names from a caller-supplied header string, returning a cleaned canonical form with pass/advisory status.","exampleAgentPrompt":"Can you normalize and deduplicate this Vary header for me before I cache the response: 'Accept-Encoding, accept-encoding, Accept, User-Agent'?","exampleUseCases":[{"title":"Pre-cache Vary header validation","prompt":"Before I store this web response in my cache, can you normalize and deduplicate its Vary header? The raw header value is 'Accept-Encoding, Accept, accept-encoding, Accept-Language'."},{"title":"Redirect pipeline header cleanup","prompt":"I'm about to follow a redirect and want to make sure the Vary header is clean first — can you normalize 'User-Agent, Accept, user-agent, Accept-Encoding' for me?"},{"title":"Retry logic header audit","prompt":"My retry logic needs a canonical Vary header before deciding whether to reuse a cached response — please normalize and deduplicate 'Accept, Accept-Encoding, accept, Cache-Control' and tell me if it passes."}],"resultDescription":"Returns versioned deterministic JSON containing the normalized Vary header field names (deduplicated and canonicalized), the computed finding describing what was changed or confirmed, and an explicit pass or advisory status indicating whether the header is acceptable for use in caching, redirecting, or retrying scenarios.","failureModes":["Header string exceeds 8192 character limit — request rejected","Malformed or unparseable header value — advisory status returned with finding detail","Empty header string — may return pass with empty normalized output","Payment failure via x402 — request not processed"],"whenToPreferThis":"Use this endpoint when you need a deterministic, stateless, zero-retention normalization of HTTP Vary headers before making caching, redirecting, or retrying decisions — especially in agentic pipelines where consistent cache-key computation depends on canonical header field names. Prefer it over manual string manipulation when deduplication and case-normalization correctness matter and you want an explicit pass/advisory audit trail.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:44:40.096Z","isFirstParty":false,"canonicalSlug":"vary-header-normalize-13793a7c"}