Friday 10 February 2012
INTERNET: HTTP Request and HTTP Response
Do you like this Article?
- HTTP is a stateless protocol. That means, It doesn’t contain any information regarding the client.
- It works as a request-response protocol in the client-side computing model.
- As it’s an Application Layer Protocol within the Framework Internet Protocol Suite, needs a Transfer Layer Protocol (usually Transmission Control Protocol) for data transmission.
- It carries request from Client-side (web browser) to the web server, known as HTTP Request. And again the response from the web-server to the browser, known as HTTP Response.
· HTTP Request means transferring a request form the client side to the server.
· It contains different types of HTTP Request Methods, which are used to indicate the type of the request.
· It has URI which locate the destination.
· It also has Protocol Version (Example: HTTP/1.1)
· Then comes the Request Header, which contains information regarding the client environment like, Accept-Charset, Accept-Encoding, Authorization,etc.
· Then there is a Message Body section, which contains actual information regarding the request.
· HTTP Response means transferring a response of the client’s request by the web server.
· First it contains the protocol name, its version, status code of the request, and a brief description of the status code.
· Then it contains Response Header, which contain the information
of the server side environment.
of the server side environment.
· After that it has, Message Body, which contain the actual response for the client.
Subscribe to:
Post Comments
(
Atom
)
Popular Posts
-
public - public means everyone can access it.That means it's in global scope. As, main method is called by JVM [ Java Virtual Machine...
-
throw is used to throw an exception in a program, explicitly . Whereas, throws is included in the method's declaration part, wi...
-
Singleton in one of the most popular yet controversial design pattern, in the world of object oriented programming. It's one of t...
-
Web Container / Servlet Container / Servlet Engine : In J2EE Architecture , a web container (also known as servlet container or ser...
-
Program compiles. But at runtime throws an error “NoSuchMethodError”.
-
Vector : It's synchronized. It's slower than ArrayList. It's generally used in ...
-
doGet(): protected void doGet(HttpServletRequest req, HttpServletResponse resp)throws ServletException, java.io.IOException – is a met...
-
In Java Programming Language , we must declare a variable name and type, before using it. The data type of a variable defines the th...
6 Responses to “ INTERNET: HTTP Request and HTTP Response ”
1 October 2013 at 13:19
A forget is one who can only find his way by moonlight, and his punishment is that he sees the dawn before the rest of the world. See the link below for more info.
dream
www.inspgift.com
6 December 2013 at 07:15
I must thank you for the efforts you have put in penning this blog.I am hoping to see the same high-grade blog posts from you.
aissa
www.joeydavila.net
10 September 2014 at 06:29
Good article. I was really enjoyed reading your post. This is truly worthy to read. Good content and good information. God bless!
John
www.imarksweb.org
27 March 2017 at 10:04
Ohh really u get senti...lol
22 June 2017 at 10:40
Thanks a lot! You made a new blog entry to answer my question; I really appreciate your time and effort. It is really a great work and the way in which u r sharing the knowledge is excellent.
java training in chennai |
java training institutes in chennai
18 June 2018 at 22:02
An impressive share, I simply given this onto a colleague who was doing a bit of evaluation on this. And he the truth is purchased me breakfast as a result of I discovered it for him.. smile. So let me reword that: Thnx for the treat! However yeah Thnkx for spending the time to discuss this, I really feel strongly about it and love reading extra on this topic. If potential, as you change into expertise, would you thoughts updating your weblog with extra details? It's extremely helpful for me. Big thumb up for this weblog put up! gsn casino games
Post a Comment