HTTP Reference Tables

Status codes, request methods and common header fields.

Common header fields

FieldDirectionPurpose
AcceptrequestMedia types acceptable for the response.
Accept-EncodingrequestContent codings acceptable for the response.
AuthorizationrequestCredentials for the target resource.
Cache-ControlbothDirectives for caches along the request chain.
Content-LengthbothSize of the message body in octets.
Content-TypebothMedia type of the enclosed representation.
ETagresponseOpaque validator for the current representation.
HostrequestTarget host and port of the request URI.
Last-ModifiedresponseTimestamp the representation last changed.
LocationresponseURI for redirection or for a created resource.
RangerequestRequest only part of a representation.
Retry-AfterresponseHow long the client should wait before retrying.
VaryresponseRequest fields used to select the representation.

Field syntax

Field names are case insensitive. A recipient may combine multiple field lines with the same name into one comma separated value, except for Set-Cookie.