HTTP5

We are go­ing to be serving our web­pages us­ing the HTTP pro­to­col.

HTTP is the back­bone of the in­ter­net, and is sur­pris­ing­ly sim­ple.

HTTP work­s by the clien­t send­ing a mes­sage to a serv­er on a spe­cif­ic ad­dress, for exam­ple:

GET /notes/http.html

The first word is the noun or the re­quest method, the sec­ond is the lo­cal URI. The mes­sage can al­so con­tain head­er­s and a re­quest body (if it is POST or PUT) re­quest.

The serv­er can then re­spond with a s­ta­tus code, some head­er­s and a po­ten­tial mes­sage body. The re­sponse body is where web­page s­tores the HTM­L.

For more see