Variant object

From Seo Wiki - Search Engine Optimization and Programming Languages
Jump to navigationJump to search

Variant objects in the context of HTTP are objects served by an Origin Content Server in a type of transmitted data variation (ie. uncompressed, compressed, different languages, etc).

HTTP/1.1 (1997-1999)[1][2] introduces Content/Accept headers. These are used in HTTP 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

References

  1. ↑ Fielding, Roy T.; Gettys (January 1997). [{{Expansion depth limit exceeded|{{{Expansion depth limit exceeded}}} |{{Expansion depth limit exceeded|{{Expansion depth limit exceeded| http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{Expansion depth limit exceeded}}} }}}} }} Hypertext Transfer Protocol -- HTTP/1.1]. IETF. 
  2. ↑ Fielding, Roy T.; Gettys (June 1999). [{{Expansion depth limit exceeded|{{{Expansion depth limit exceeded}}} |{{Expansion depth limit exceeded|{{Expansion depth limit exceeded| http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{Expansion depth limit exceeded}}} }}}} }} Hypertext Transfer Protocol -- HTTP/1.1]. IETF. 

External links

→