Please Whitelist This Site?
I know everyone hates ads. But please understand that I am providing premium content for free that takes hundreds of hours of time to research and write. I don't want to go to a pay-only model like some sites, but when more and more people block ads, I end up working for free. And I have a family to support, just like you. :)
If you like The TCP/IP Guide, please consider the download version. It's priced very economically and you can read all of it in a convenient format without ads.
If you want to use this site for free, I'd be grateful if you could add the site to the whitelist for Adblock. To do so, just open the Adblock menu and select "Disable on tcpipguide.com". Or go to the Tools menu and select "Adblock Plus Preferences...". Then click "Add Filter..." at the bottom, and add this string: "@@||tcpipguide.com^$document". Then just click OK.
Thanks for your understanding!
Sincerely, Charles Kozierok
Author and Publisher, The TCP/IP Guide
HTTP message headers are very important, because they are the mechanism that HTTP uses to allow devices to specify the details of client requests and server responses. These headers, however, are only the means to an end, which is the transfer of resources such as files, form input and program output from one device to another. When a resource is carried in the body of an HTTP message, it is called an entity. HTTP defines special rules for how these entities are identified, encoded and transferred.
In this section, I take a detailed look at how HTTP handles entities. I begin with a discussion of entities in general terms, and a look at how their contents are identified; this includes an examination of the relationship between HTTP and MIME. I discuss the issues behind the transfer of entities between clients and servers, and the difference between content encodings and transfer encodings. I describe the special issues associated with identifying the length of entities in HTTP messages, and detail the special chunked transfer coding and message trailers. Finally, I describe the methods by which devices can perform content negotiation, and how quality values allow clients to intelligently select different variations of a resource.
Quick navigation to subsections and regular topics in this section