presentation nasir11111111111111111.pptx

MuhammadNasir342806 11 views 18 slides Oct 18, 2024
Slide 1
Slide 1 of 18
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18

About This Presentation

jhdjkasd


Slide Content

GROUP: Muhammad Nasir : 21cse01 (Leader) Muhammad Bilal : 21cse41 Aftab ahmed : 21cse35 Qamber ali : 21cse42 Imran ali : 21cse44

Hypertext transfer protocol and Hypertext transfer protocol secure

content Define HTTP Define HTTPs Working of http http request response model

Hypertext transfer protocol(HTTP) The HTTP provides a standard for web browsers & servers to communicate. HTTP is the foundation of data communication for the WWW. HTTP is an application layer network protocol built on top of TCP.

HTTP clients & servers communicate via HTTP request & response message. Hypertext is structured text that uses logical links(hyper links) between nodes containing text. HTTP is the protocol to exchange or transfer hypertext. HTTP is called a “stateless protocol” because each command is executed independently, without any knowledge of the commands that came before it.

E.g.- when you enter a URL in your browser, this actually sends an HTTP command to the web server directing it to fetch & transmit the requested web page. There are 2 major versions of HTTP:- HTTP/1.0 HTTP/1.1

HTTP has 6 attributes:- Client/server model Simplicity Flexibility and content typing Connection less Stateless Meta information

Hypertext transfer protocol secure (HTTPS) HTTPs is a combination of HTTP with SSL/TLS protocol. It provides encrypted communication & secure identification of a network server. HTTPs connection are often used for payment transactions on the WWW & for sensitive transaction in corporate information system.

HTTPs is a secure version of the hypertext transfer protocol (HTTP). HTTPs allows secure ecommerce transaction, such as online banking. Web browsers such as internet explorer & Firefox display a padlock icon to indicate that the website is secure, as it also display https:// in the address bar. E.g.-https://facebook.com

HOW HTTP WORKS? HTTP is implemented in two programs : a client program and a server program, executing on different end systems, talk to each other by exchanging HTTP messages . The HTTP client first initiates a TCP connection with the server. Once the connection is established, the browser and the server processes access TCP through their socket interfaces.

HOW HTTP WORKS? Suppose client wants to visit www.yahoo.com

HOW HTTP WORKS?

HOW HTTP WORKS?

HOW HTTP WORKS?

HTTP REQUEST MESSAGE The first line of an HTTP request message is called the request line; the subsequent lines are called the header lines. The request line has three fields: the method field, the URL field, and the HTTP version field. The method field can take on several different values, including GET, POST, HEAD, PUT, and DELETE etc. The great majority of HTTP request messages use the GET method. The GET method is used when the browser requests an object, with the requested object identified in the URL field.

HTTP RESPONSE MESSAGES It has three sections: an initial status line, header lines, and then the entity body. The entity body contains the requested object itself. The status line has three fields: the protocol version field, a status code, and a corresponding status message.
Tags