-->

Tuesday, January 24, 2012

Versions of HTTP


 A warm greeting to all visitors to site course network HTTP is at HTTP/1.1 version. Prior to this release, there were two others: HTTP/0.9 and HTTP/1.0. HTTP/1.0 is certainly the most common version on the Internet. When we give the versions of HTTP, it gives "HTTP /" followed by the protocol version.
When connecting to a server we should say a priori what version of HTTP is to talk to him. By default, if nothing is said, using HTTP/0.9. This is what happened in the example above. When asked to use a version of HTTP that the server does not implement, it returns the first version of HTTP it will use for the rest of the transmission. It is ultimately the customer to ensure that he will understand what the server will respond.
We see that the server's response is more complicated than before, and it contains mainly additional data. These additional data for both the client and the server are specified by so-called guidelines. For example, "Content-Type" is a directive that specifies the format of the resource returned (here, plain text).

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 

Blog Archive