Datatypes

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 or Content-Type. RFC 9110 defines it as a token of letters, digits and the characters !

Categories
Internet
Countries
Global (not tied to a country)
Languages
Common to most languages
Quality
80/100 · missing: mapping (Wikidata, Schema.org, ...), detector coverage
Metacrafter rules
no detection rule yet
Supported by tools
no tool record lists this type yet

Regular expression

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

Python re syntax.

Examples

ValueDescription
HostTarget host of the request
Content-TypeMedia type of the content
user-agentLowercase form
Content-Type: text/html invalidA whole header line with the value

Translations

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

Sources

Use this record