requestheader
A request header is part of an HTTP request that carries metadata about the client, the request, and the preferred form of the response. Along with the request line, which contains the method, target URL, and HTTP version, the header fields provide information used by servers to process the request.
Each header field consists of a name and a value, separated by a colon. Field names are
Servers use request headers to route requests, apply content negotiation, manage caching, and enforce access control.
Security and privacy considerations include validating and sanitizing header values that are echoed in responses, guarding
The HTTP specifications, notably RFC 7230 through RFC 7235, define header semantics and syntax. Related concepts