Variant object
From Seo Wiki - Search Engine Optimization and Programming Languages
This article is an orphan, as few or no other articles link to it. Please introduce links to this page from related articles; suggestions are available. (February 2009) |
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.
Contents |
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
- ↑ Fielding, Roy T.; Gettys, Jim; Mogul, Jeffrey C.; Nielsen, Henrik Frystyk; Berners-Lee, Tim (January 1997). Hypertext Transfer Protocol -- HTTP/1.1. IETF. RFC 2068. http://tools.ietf.org/html/rfc2068. Retrieved 2009-10-24.
- ↑ Fielding, Roy T.; Gettys, James; Mogul, Jeffrey C.; Nielsen, Henrik Frystyk; Masinter, Larry; Leach, Paul J.; Berners-Lee, Tim (June 1999). Hypertext Transfer Protocol -- HTTP/1.1. IETF. RFC 2616. http://tools.ietf.org/html/rfc2616. Retrieved 2009-10-24.
External links
|
↓