Tuesday, June 2, 2009

What does the HTTP Stand For?

HTTP stands for Hypertext transfer protocol (a communications protocol). A protocol use to transfer hypertext requests and information, between servers and browsers.

Hypertext Transfer Protocol is the method used to transfer information on the World Wide Web (WWW). HTTP is a request/response protocol between clients and servers.HTTP HTTP/1.1 is the version of HTTP in common use today.

Client :
Such as a web browser, spider, or other end-user tool, is referred to as the user agent.

Server :
Server is which stores or creates resources such as HTML files and images, is called the origin server. In between the user agent and origin server may be several intermediaries, such as proxies, gateways, and tunnels.

An HTTP client initiates a request by establishing a Transmission Control Protocol (TCP) connection to a particular port on a remote host. An HTTP server listening on that port waits for the client to send a Request Message.

  • HTTP Request methods
HTTP defines eight methods indicating the desired action to be performed on the identified resource.

this is useful for retrieving meta-information written in response headers, without having to transport the entire content.

1. GET
Requests a representation of the specified resource. By far the most common method used on the Web today.

Submits data to be processed to the identified resource. The data is included in the body of the request. This may result in the creation of a new resource or the updates of existing resources or both.

3. PUT
Uploads a representation of the specified resource.

deletes the specified resource.

Echoes back the received request, client can see what intermediate servers are adding or changing in the request.

Returns the HTTP methods that the server supports. This is used to check the functionality of a web server.

Converts the request connection to a transparent TCP/IP tunnel, usually to facilitate SSL-encrypted communication (HTTPS) through an unencrypted HTTP proxy.

HTTP servers are supposed to implement at least GET and HEAD methods and, whenever possible, also the OPTIONS method too.


Post a Comment