Look up an HTTP field name
iana_lookup_http_fieldLook up a registered HTTP field (header or trailer) name. Pass exactly one of name (case-insensitive, e.g. "Cache-Status") or keyword (words matched against field names and comments). Returns the registration status — permanent, provisional, deprecated, or obsoleted — the Structured Field type when registered, and the defining reference. Many widely used headers are unregistered; a miss means only that IANA has no entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Exact field name, case-insensitive, e.g. "Content-Type" (a trailing ":" is ignored). Pass this or keyword, not both. | |
| limit | No | Maximum number of results to return, 1–100. Default 25. | |
| offset | No | Number of keyword matches to skip; pass the next_offset of the previous response to get the next page. Default 0. | |
| status | No | Keep only fields with this registration status. Applies to both modes. | |
| keyword | No | Words matched as whole tokens against field names and registry comments, e.g. "cache". Pass this or name, not both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | The limit applied. | |
| mode | No | Which lookup ran. | |
| error | No | Present when the call failed. Absent on success. | |
| found | No | True when a registered field matched. | |
| shown | No | Results returned. | |
| fields | No | Matching fields: exact name hits first, then registry order. | |
| notice | No | Guidance on a miss, a cut list, or another condition. | |
| source | No | Provenance and freshness of the answer. | |
| truncated | No | True when more matches exist than were returned. | |
| totalCount | No | Matches before the limit was applied. | |
| next_offset | No | Pass as offset for the next page; absent on the last. |