Datatypes › Internet

HTTP header field name

ID http_header_name

DatatypeNot PIIcategoricalDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Name of a field in the header of an HTTP request or response, such as Host, Content-Type, Cache-Control or X-Powered-By. RFC 9110 defines it as a token of letters, digits and some punctuation characters such as the hyphen, compared without regard to case, and IANA keeps the registry of the standard names. Website statistics and server check pages list the response headers of a site as a table of names and values.

Categories
Internet
Countries
Global (not tied to a country)
Languages
Common to most languages
Quality
90/100 · missing: mapping (Wikidata, Schema.org, ...)
Metacrafter rules
2 rules (1 by field name, 1 by value)
Supported by tools
metacrafter

Regular expression

^[A-Za-z0-9!#$%&'*+.^_`|~-]+$

Python re syntax.

Test a value

Examples

ValueDescription
Host Target host of the request
Content-Type Media type of the content
user-agent Lowercase form
Content-Type: text/html invalid A whole header line with the value

Translations

LanguageNameDescription
RussianИмя заголовка HTTP

Sources

Use this record