Compare Revisions
Basics of HTTP
Revision 1089551:
Revision 1089551 by teoli on
Revision 1090103:
Revision 1090103 by fscholz on
- Title:
- Basics of HTTP
- Basics of HTTP
- Slug:
- Web/HTTP/Basics_of_HTTP
- Web/HTTP/Basics_of_HTTP
- Tags:
- "HTTP" "Overview"
- "HTTP" "Overview"
- Content:
-
Revision 1089551 Revision 1090103 n n 7 <div> 8 {{HTTPSidebar}} 9 </div> n 8 {{HTTPSidebar}} n 9 </p> 10 <p> 11 HTTP is a pretty extensible protocol. It relays on a few ba 11 HTTP is a pretty extensible protocol. It relays on a few ba > sics concept like the notion of resource and URIs, a simple struc > sics concept like the notion of resource and URIs, a simple struc > ture of message and a client-server structure for the communicati > ture of messages and a client-server structure for the communicat > on flow. On top of these basics concepts, numerous extensions hav > ion flow. On top of these basics concepts, numerous extensions ha > e appeared over the year, adding functionnality and new semantics > ve appeared over the years, adding new functionality and new sema > by creating new HTTP methods or headers. > ntics by creating new HTTP methods or headers. n 27 HTTP was created in the early 1990s and has been extended n 27 HTTP was created in the early 1990s and has been extended > several times. This article goes through its history and describ > several times. This article goes through its history and describ > e HTTP/0.9, HTTP/1.0, HTTP/1.1, and the modern HTTP/2 as well as > es HTTP/0.9, HTTP/1.0, HTTP/1.1, and the modern HTTP/2 as well as > minor novelties introduced over the years. > minor novelties introduced over the years. n 39 A brief introduction of the notion of resources, its iden n 39 A brief introduction of the notion of resources, identifi > tifier, and the notion of location on the Web. > ers, and locations on the Web. n 51 A specific kind of URIs that directly embed the resource n 51 A specific kind of URIs that directly embeds the resource > it represents. Data URIs are very convenient but have some caveat > it represents. Data URIs are very convenient, but have some cave > s. > ats. n 57 If most of the time identity and location of a Web resour n 57 Most of the time identity and location of a Web resource > ce, this can be changed with the {{HTTPHeader("Alt-Svc")}} header > are shared, this can be changed with the {{HTTPHeader("Alt-Svc")} > . This article explains how it works > } header. n 63 Since HTTP/1.0, different type of content can be transmit n 63 Since HTTP/1.0, different types of content can be transmi > ted. This article explains how this is done using {{HTTPHeader("C > tted. This article explains how this is done using the {{HTTPHead > ontent-Type")}} and the MIME standard. > er("Content-Type")}} header and the MIME standard. n 69 Beginners often believed www must be used for a Web site; n 69 Advice on using a www-prefixed domain or not, this articl > this article explains the notion of DNS and good practice for re > e explains the consequences of the choice as well as how to make > directing non-www address to their www counterparts. > it. n 75 This fundamental article describes a typical HTTP session n 75 This fundamental article describes a typical HTTP session > : what happens behind the hood when you click on a link in your b > : what happens under the hood when you click on a link in your br > rowser… > owser… t 105 HTTP introduces a set of header, starting with <code>Acce t 105 HTTP introduces a set of headers, starting with <code>Acc > pt-</code> as a way for a browser to announce the format, languag > ept-</code> as a way for a browser to announce the format, langua > e, or encoding it prefers. This article explains how this adverti > ge, or encoding it prefers. This article explains how this advert > sement happens and how the server is expected to react and how it > isement happens, how the server is expected to react and how it w > will choose the most adequate response. > ill choose the most adequate response.