Http Protocol

AbcABC137 735 views 7 slides Jan 29, 2019
Slide 1
Slide 1 of 7
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7

About This Presentation

Http Protocol


Slide Content

Topic : http Presented by : M.NORAIZ Presented to : Mam Shehla Roll # : 11364 Department : BS.S.E(1 st B)

Define http? What is http? HTTP (Hypertext Transfer Protocol) is the set of rules for transferring files (text, graphic images, sound, video, and other multimedia files) on the World Wide Web. Communication between client computers and web servers is done by sending HTTP Requests and receiving HTTP Responses

Define http? HTTP Request / Response A client (a browser) sends an HTTP request to the web An web server receives the request The server runs an application to process the request The server returns an HTTP response (output) to the browser The client (the browser) receives the response Communication between clients and servers is done by requests and responses:

Define http? The HTTP Request Circle The browser requests an HTML page. The server returns an HTML file. The browser requests a style sheet. The server returns a CSS file. The browser requests an JPG image. The server returns a JPG file. The browser requests JavaScript code. The server returns a JS file A typical HTTP request / response circle :

Define http? Example HTTP request to fetch youtube.html page that exist on the web server running on ns1.google.com . Request youtube.html User-Agent: Mozilla/4.0 (Windows 10) IP=39.36.188.45 Date:Th,10, Jan ,2019 12:36:20 GMT Connection: Keep-Alive Response OK Server:ns1.google.com Content-Type: text/html; Date: Th,10, Jan,2019 12:36:20 GMT Connection: Closed

Example 1. http request. 1. h ttp response. YouTube By user(Browser). By server.