Recent Posts
- November 2014 (1)
- January 2014 (1)
- October 2013 (1)
- May 2013 (1)
- February 2013 (2)
- October 2012 (1)
- August 2012 (1)
- July 2012 (4)
- June 2012 (13)
Blog Stats
- 36,360 hits
Write your code smartly
HTTP is a foundation of communication on internet considering a client-server model. It is used to transfer or exchange hypertext by building network using links called hyperlinks.
Client may be a browser and the website can be a server. The client request through a message using HTTP to the server which uses HTML and provides a response in the form of status of the request and it can be a content with a message or data.
A HTTP client sends a request by building a TCP connection and HTTP waits for a request, after receiving the request a response from the server is made to the client by which the request-response clock starts which make up a HTTP session. Unless a clock of request-response is not stopped a session is alive else it is killed.
A response can be a HTML web page which is displayed on the client browser.