Junior
What types of HTTP headers do you know?
sobes.tech AI
Answer from AI
-
General Headers: These relate to both the request and the response, but not to the message body.
Cache-ControlConnectionDatePragmaTrailerTransfer-EncodingUpgradeViaWarning
-
Request Headers: Contain more information about the resource to be fetched or about the client.
AcceptAccept-CharsetAccept-EncodingAccept-LanguageAuthorizationExpectFromHostIf-MatchIf-Modified-SinceIf-None-MatchIf-RangeIf-Unmodified-SinceMax-ForwardsProxy-AuthorizationRangeRefererTEUser-Agent
-
Response Headers: Contain additional information about the response, such as its location, server information.
Accept-RangesAgeETagLocationProxy-AuthenticateRetry-AfterServerVaryWWW-Authenticate
-
Entity Headers: Relate to the message body of the request or response.
AllowContent-EncodingContent-LanguageContent-LengthContent-LocationContent-MD5Content-RangeContent-TypeExpiresLast-ModifiedExtension-header(custom, non-standard)
This classification is according to RFC 2616. In newer standards (RFC 7230-7235), the classification may differ slightly.