Saturday, March 15, 2014

How Hypert Text Transfer Protocol (HTTP) works



-----
How Hypert Text Transfer Protocol (HTTP) works

INTRODUCTION

HTTP is a request and response protocol. A client sends an HTTP request message to a server using a carefully formatted message that the server will understand. A server responds by sending an HTTP response message that the client will understand. The request and the response are two different message types that are exchanged in a single HTTP transaction. The HTTP standards define what goes into these request and response messages so that everyone who speaks "HTTP" will understand each other and be able to exchange resources (or when a resource doesn't exist – a server can respond with an error message).
STEPS
1) Run XAMPP/Apache and XAMPP/MySQL server.
2) Run Chrome Web Browser (download a portable version here).
(Notice that Chrome hides the prefix “http://”)
4) In Chrome tool bar, go to menu/tools/developer tools.
5) Click the Network tab.
6) Refresh the browser.
The HTTP communication list is now populated.
7) Technical observation on HTTP Request and Response.
GET method
Resource Path
Status Code
Resource Type
Content Size.
8) Click on Resource Name “xampp/”.
Notice Headers tab displays the Request Headers and Response Headers.
9) Click Response Tab.
10) Click Timing Tab.

REFERENCES:


2) https://developers.google.com/chrome-developer-tools/docs/network#network_resource_details

No comments:

Post a Comment