# Transfer Encoding Check

> Transfer Encoding Check is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Validates the order and placement of transfer-coding values in an HTTP Transfer-Encoding header, ensuring 'chunked' appears only as the last encoding

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/transfer-encoding-check
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/transfer-encoding-check-4eda6f28
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gUf5Qo8W9G6rfPqtLww8a

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability transfer-encoding-check-4eda6f28 -d '<json body>'
```

Example prompt: Check this Transfer-Encoding header value for me and tell me if the coding order is valid and whether chunked appears only last: 'gzip, chunked'

## When to prefer this

Use this endpoint when an agent or gateway needs a deterministic, protocol-correct check of an HTTP Transfer-Encoding header before accepting, caching, redirecting, or retrying a response. Prefer it over custom parsing logic when you need a versioned, auditable compliance result rather than a boolean. Especially useful in security-sensitive pipelines where HTTP request smuggling or desync attacks via malformed transfer encoding are a concern.

## Known failure modes

- Header string exceeds 8192 character limit — rejected with validation error
- Malformed or unparseable header value — returns advisory status with parsing finding
- Missing or empty header field — returns finding indicating absent header
- Payment not provided or insufficient — x402 payment required response

## How this service works

Transfer Encoding Check: Transfer Encoding Check checks transfer-coding order and whether chunked appears only last from bounded caller-supplied values without an external provider. Call Transfer Encoding Check 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 Transfer Encoding Check as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party…

## Output

Returns a versioned deterministic JSON object containing: the normalized header evidence (parsed transfer-coding values), the computed compliance finding (e.g. whether chunked is last, coding order issues), and an explicit pass or advisory status indicating whether the header is safe to accept.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "header": {
   "type": "string",
   "maxLength": 8192,
   "description": "Header supplied to Transfer Encoding Check; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "codings": [
    "gzip",
    "chunked"
   ],
   "chunked_last": true
  },
  "schema": "delx/util-transfer-encoding-check/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "d6676b1fa151e91d9e82973a7a1385d55e325258b6e169eb78e0b287fb421903",
   "external_calls": 0
  },
  "operation": "web_reliability:transfer_encoding_check"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/transfer-encoding-check-4eda6f28/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
