Variant objects in the context of
HTTP
HTTP (Hypertext Transfer Protocol) is an application layer protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, wher ...
are
objects served by an
Origin Content Server in a type of transmitted data variation (i.e. uncompressed,
compressed, different languages, etc.).
HTTP/1.1 (1997–1999)
introduces Content/Accept
headers. These are used in
HTTP
HTTP (Hypertext Transfer Protocol) is an application layer protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, wher ...
requests and responses to state which variant the data is presented in.
Example Scenario
Client:
GET /encoded_data.html HTTP/1.1
Host: www.example.com
Accept-Encoding: gzip
Server:
HTTP/1.1 200 OK
Server: http-example-server
Content-Length: 23
Content-Encoding: gzip
<23 bytes of gzip compressed data>
See also
*
HTTP
HTTP (Hypertext Transfer Protocol) is an application layer protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, wher ...
*
HTTP compression
*
List of HTTP headers
*
Web cache
A web cache (or HTTP cache) is a system for optimizing the World Wide Web. It is implemented both client-side and server-side. The caching of multimedia and other files can result in less overall delay when web browser, browsing the Web.
Parts o ...
References
External links
How Apache handles content negotiation
Network protocols
Web browsers
Internet protocols
Application layer protocols
Open formats
World Wide Web Consortium standards
{{Network-software-stub