Register
Sign In
Skip over navigation
Home
Add New Question
Jobs
Products
HTTP protocol
Question posted
in
Computer Software
on
05 2011
Rate question difficulty level
0
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 ?
Add an answer
Share
|
19 Answers
Eric
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
Soraja
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
clukrtuwzmn
g1pzYW
eobyystmiord
02/19/2012
AcromaAngel
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
Robinson
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
Irish
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
inter4522
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
Invent
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
chopard watches for sale
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
Henry
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
obd2
Unlock Tool Lexus(ES-TOY40)
Unlock Tool Lexus (ES-TOY40)
dental curing light
AK-47
04/26/2012
farooq
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
tn pas cher
Nike TN Pas Cher
TN Pas Cher
Nike Requin
Nike TN
Nike Air Jordans
Cheap Jordan Shoes
AIR Jordans
Nike Jordan Shoes
Nike Air Jordans
Nike Tn Pas Cher
Sac a main
Sac a main femme
sac a dos
valise
bagage à main et maroquinerie en ligne - Gsell
TN Nike
TN Requin
TN Pas Cher
TN Air Max
TN Pas Cher
Nike tn 2012
tn foot locker
TN REQUIN
Nike TN
Nike Requin
Chaussure Requin
Air Max Requin TN Pas Cher
Puma Pas Cher
04/27/2012
farooq
I’m glad that your business is showing signs of success! Very informative site and beautiful design.
build your body
05/02/2012
jaffa
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
Lisa S. Sickels
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
kirkland
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
lilian
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
Enter the code shown above:
please wait..
Company:
5minmedia
Location:
Israel
Tags:
.net
,
http
,
protocols
Occupations:
Software\Web Development
add a question
Now hiring!
Business Analyst, Product Development IT Relationship Managment Team
Vertex Pharmaceuticals
Cambridge, MA
Activity Diagrams- In depth understanding of the various software development lifecycles (e.g. Agile, RUP, and ... - Bachelors Degree- In depth understanding of the various software development lifecycles (e.g. Agile, RUP, and...
---------------------------
IT Sourcing Procurement Analyst Software Service Infrastructure
CVS Caremark
Woonsocket, RI
Strategy, including: Procurement Execution ?Maintain IT procurement process in collaboration with IT stakeholders ... legal risk mitigation strategy are addressed ?Support the development of executive briefings summarizing contract...
---------------------------
IT Project Manager - Information Systems Development
UnitedHealth Group
Southfield, MI
innovative solutions to meet them * Participate in the development of business strategy * Develop and manages ... of healthcare for millions of people worldwide. It's your chance to be a transformational force in the...
---------------------------
Software Development Analyst/ .NET Developer- Health IT
Northrop Grumman
Atlanta, GA
Sharp programming skills, eagerness for challenging development opportunities, and the ability to work with a ... of information security concepts and principles, as it pertains to application/service development and...
---------------------------
(IT Applications Analyst Developer Lead
Halliburton
Houston, TX
Houston, TX DUTIES: Responsible for the development, acquisition, maintenance and support of applications in assigned ... plus 7 years of progressive experience in Systems Development and Application Support, including analysis,...
---------------------------
Mgr Software Development 2-Health IT
Northrop Grumman
Little Rock, AR
and software developers. Works with members of the development team to ensure that all legacy data is ... years of relevant experience - Experience with IT Project Development Lifecycle - Experience converting data for...
---------------------------
IT Specialist (Applications Development)
Parsons
Houston, TX
in software complexity. Makes a recommendation to senior IT management and the end user. Uses charts, diagrams and ... guidance to lower-level IT staff assigned to an application development project. * Develops functional specifications to...
---------------------------
Software Development Engineer (IT Security)
Amazon.com
Seattle, WA
Role Description Amazon.com is looking for expert Software Development Engineers to develop tools supporting the IT ... for you. You will participate in every level of software development from requirements gathering to operational...
Jobs
by
Simply
Hired
View all jobs