Monday, October 29, 2007

http - Hypertext Transfer Protocol. Do you know what is it???


Well it is more than what you write in URL. that is for sure ;). The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems (a communication’s protocol). It is a generic, stateless, protocol which can be used for many tasks beyond its use for hypertext, such as name servers and distributed object management systems, through extension of its request methods, error codes and headers. In the end is no more than a request/response protocol between clients and servers.

A feature of HTTP is the typing and negotiation of data representation, allowing systems to be built independently of the data being transferred. The HTTP/1.1 is the version of HTTP in common use today.

An HTTP client initiates a request by establishing a Transmission Control Protocol (TCP) connection to a particular port on a host (port 80 by default).

An HTTP server listening on that port waits for the client to send a request message.Upon receiving the request, the server sends back a status line, such as “HTTP/1.1 200 OK”, and a message of its own, the body of which is perhaps the requested file, an error message, or some other information.

Internet is a funny thing…


No comments: