HTTP
HTTP headers let the client and the server pass additional information with an HTTP request or response.
Last updated
HTTP headers let the client and the server pass additional information with an HTTP request or response.
Last updated
HTTP headers are the code that transfers data between a Web server and a client. HTTP headers are mainly intended for communication between the server and client in both directions.
In 1989, while working at CERN, Tim Berners-Lee wrote a proposal to build a hypertext system built over the existing TCP and IP protocols over the internet.
The evolution of HTTP has led to the creation of many applications and has driven the adoption of the protocol. The environment in which HTTP is used today is quite different from that of the early 1990s.
HTTP headers let the client and the server pass additional information with an HTTP request or response. An HTTP header consists of its case-insensitive name followed by a colon (:
), then by its value.
A request header is an HTTP header that can be used in an HTTP request to provide information about the request context so that the server can tailor the response.
Holds additional information about the response, like its location or about the server providing it.
Contains information about the body of the resource, like its MIME type, or encoding/compression applied.
A payload header contains representation-independent information about payload data, including content length and the encoding used for transport.