Variant objects in the context ofHTTP areobjects served by anOrigin Content Server in a type of transmitted data variation (i.e. uncompressed,compressed, different languages, etc.).
HTTP/1.1 (1997–1999)[1][2] introducesContent/Acceptheaders. These are used inHTTP requests and responses to state which variant the data is presented in.[citation needed]
Client:
GET/encoded_data.htmlHTTP/1.1Host:www.example.comAccept-Encoding:gzip
Server:
HTTP/1.1200OKServer:http-example-serverContent-Length:23Content-Encoding:gzip<23 bytes of gzip compressed data>