HTTP protocol

Question posted in Computer Software on 05 2011
Rate question difficulty level 0 Votes
Please explain about http protocol. How does it work ?
how all the server controls knows what are the value that has been entered in the client ?
 
 
19 Answers
 
Computers on the World Wide Web use the HyperText Transfer Protocol to talk with each other. The HTTP provides a set of instructions for accurate information exchange. The communication between the client (your browser) and the server (a software located on a remote computer) involves requests sent by the client and responses from the server.

Each client-server transaction, whether a request or a response, consists of three main parts :

1.A response or request line
2.Header information
3.The body

A client connects to the server at port 80 (unless it has been changed by the system administrator) and sends a request. The request line from the client consists of a request method, the address of the file requested and the HTTP version number.
------------------------------------------------------------------
GET /mypage.html HTTP/1.1
-------------------------------------------------------------------

The above request calls for mypage.html file using the GET HTTP method; the version of HTTP used is 1.1.
After the request line comes the header data that consists of configuration information about the client and its document viewing preferences. The header is a series of lines, each of which contains a specific detail about the client and ends with a blank line. A header may look like this:

-----------------------------------------------------------------------------------
ACCEPT: */*
ACCEPT_LANGUAGE:en-us
REFERER:http://www.simplygraphix.com/wedes.html
USER_AGENT:Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
...
-----------------------------------------------------------------------------------

Most of the lines in the header are self-explanatory. The ACCEPT identifies the various kinds of files which the client can display. The REFERER lines contains the document from which the request was generated. In the case above, it is webdes.html document from http://www.simplygraphix.com web site that has sent the request. the The USER_AGENT specifies the browser and gives details on its version number.
The body of the request will contain data sent by the client via POST method.
The server now responds. Again, the response consists of three parts.
The response line contains information on the HTTP version number, a status code that indicates the result of the request from the client and a description of the status code in 'English'.

-----------------------------------------------------------------------------
HTTP/1.1 200 OK
-----------------------------------------------------------------------------

The HTTP version used is 1.1 and the status code 200 and 'OK' explain the result of the client's request. There are many HTTP server status codes and you can know more about them through the links given at the end of this page.
The header from the server contains information about the server software and the document sent to the client.

------------------------------------------------------------------------------------
Date: Wed, 16 Aug 2000, 13:25:54 GMT
Server: NCSA/1.5.2
Last-modified: Sat, 22 Jan 2000, 05:15:43
Content-type: text/html
Content-length: 12443
------------------------------------------------------------------------------------

The header is followed by a blank line that indicates the end of the header information. From the example above, the server sends an html document of size 12443 bytes as shown by the Content-type and Content-length lines. The server line gives details about the server software. The rest is quite evident.

One last point on the HTTP protocol- HTTP is a stateless protocol, which means that the connection between the browser and the server is lost once the transaction ends.

about the second question: "how all the server controls knows what are the values that has been entered in the client ? (I refer to .net)"

The answer is that for every value in .net controls the framework go through all the controls in the page till it founds the control with the same name. bad performance !!

05/23/2011
 
 
Cloud cpnoutimg rules for smaller offices! See google, youtube and facebook. Do you offer that option? Our pm is web based. Would never go back to client server.Productivity calculations are sexy but theoretical. Very few physicians work at 100% capacity. Cancellations are the rule.

02/18/2012
 
 

02/19/2012
 
 
Paki, aunque con retraso, te comunico que todos los que lo solicist teis a trav s de los coemntarios est is admitidos/as

tramadol cheap california auto insurance

02/27/2012
 
 
Paki, aunque con retraso, te comunico que todos los que lo solicist teis a trav s de los coemntarios est is admitidos/as

ultram car insurance rates

03/07/2012
 
 
Paki, aunque con retraso, te comunico que todos los que lo solicist teis a trav s de los coemntarios est is admitidos/as

cheap auto insurance online affordable health insurance

03/12/2012
 
 
dee



Good stuff as per usual, thanks. I do hope this kind of thing gets more exposure.
i beam supplier

03/18/2012
 
 
There is so much that goes into this protocol. There is so many different ways that you can explain it. It is how the internet works. There is no internet without it. Blu-ray duplication

03/25/2012
 
 
Inventure India is a management consulting firm has an unparalleled depth of knowledge and resources combined with functional and industry expertise for geographical reach. We help leaders make distinctive, lasting and substantial enhancement to the performance of their organizations.

Franchise company

Investment in india

04/13/2012
 
 
Your article is very interesting, very rich in contents, give me a lot of inspiration, hope to see more of your wonderful article, thank you.

watches for cheap, cheap watches,


a lange sohne replica watches


04/15/2012
 
 
A good name is more desirable than great riches; to be esteemed is better than silver or gold.
emaar mgf palm hills gurgaon
bestech projects in gurgaon
bestech dharuhera
bestech ananda
commercial projects in gurgaon
bestech ananda

04/17/2012
 
 
Unlock Tool Lexus(ES-TOY40)

Unlock Tool Lexus (ES-TOY40)
dental curing light
AK-47

04/26/2012
 
 
Good work! Your post is an excellent example of why I keep coming back to read your excellent quality content that is forever updated. Thank you! hotels in dubai

04/26/2012
 
 
 
 
I’m glad that your business is showing signs of success! Very informative site and beautiful design. build your body

05/02/2012
 
 
Application software is developed to perform in any task that benefits from computation. It is a set of programs that allows the computer to perform a specific data processing job for the user. It is a broad category, and encompasses software of many kinds, including the internet browser being used to display this page. Thanks.
Regards,
Local SEO Services

05/09/2012
 
 
I found so many interesting stuff in your blog especially its discussion. and it has really helped me alot. Do you have any other posts about this topic? Thanks for sharing with us.
florist in nashville tennessee

05/15/2012
 
 

A very good and a very informative blog to read. It helps me a lot to enhance my knowledge....hard drive recovery services

05/16/2012
 
 
Coach Outlet is an American leather goods company famous for its ladies handbags and purses. Coach Factory Brand may be creating Coach Bags styles which are absolutely multicolored and fun. Here, we talk about Coach Outlet Online comes in different colors and sizes, which means that you can go in for Coach Outlet Online one that suits you the most. Made up of Coach Factory Outlet various rare materials of Coach Tote Bags, Our Coach Outlet has a variety of collections of Cheap Coach Shoulder Bags. Coach Factory Outlet has polished silver-tone framing on top, which then adds more elegance to its totality. Coach Outlet offer purses are cheap and fashion. When you own a coach bag, it automatically creates a mark of status for your unique style while highlighting an unique way in you. Coach Luggage are the highest quality bags in elegant classical styles. You can find Coach Outlet the special luxury and fashion design from the Cheap Coach Purses. In addition, you can even find some of the Coach bags at Coach Outlet Online be named after some famous models. from http://www.atcoachoutletsonline.com/ Moreover, the exquisite workmanship makes Coach Scarf the darling of fashionable ladies. Don't hesitate! Order it.

05/17/2012
 
 
Add an answer*
 
Your name
Email
 
Company: 5minmedia
Location: Israel
.net http protocols

add a question

arrow_blue


Now hiring!
---------------------------
---------------------------
---------------------------
---------------------------
---------------------------
---------------------------
---------------------------