Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Example Scenario  





2 See also  





3 References  





4 External links  














Variant object







Add links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Variant objects in the context of HTTP 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)[1][2] introduces Content/Accept headers. These are used in HTTP requests and responses to state which variant the data is presented in.[citation needed]

Example Scenario[edit]

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[edit]

References[edit]

  1. ^ Fielding, Roy T.; Gettys, Jim; Mogul, Jeffrey C.; Nielsen, Henrik Frystyk; Berners-Lee, Tim (January 1997). Hypertext Transfer Protocol -- HTTP/1.1. IETF. doi:10.17487/RFC2068. RFC 2068. 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. doi:10.17487/RFC2616. RFC 2616. Retrieved 2009-10-24.
  • External links[edit]


  • t
  • e

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Variant_object&oldid=1192126231"

    Categories: 
    Network protocols
    Web browsers
    Internet protocols
    Application layer protocols
    Open formats
    World Wide Web Consortium standards
    Network software stubs
    Hidden categories: 
    All articles with unsourced statements
    Articles with unsourced statements from December 2022
    All stub articles
     



    This page was last edited on 27 December 2023, at 19:01 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki