SlideShare a Scribd company logo
HyperText Transfer
Protocol (HTTP)
GURJOT SINGH

REVTI RAMAN SINGH

UG201113013

UG201110026

1
WHAT IS A PROTOCOL AND HTTP?
• Protocol:

A Protocol is a standard procedure for
defining and regulating communication. For
example TCP, UDP, HTTP etc.

• HTTP is the foundation of data communication for
the World Wide Web.

• The HTTP is the Web’s application-layer protocol
for transferring various forms of data between
server and client like plaintext, hypertext, image,
videos and sounds .
2
TERMINOLOGY
•

IP Address: An Internet Protocol address (IP address) is a numerical label assigned to each
device (e.g., computer, printer) participating in a computer network that uses the Internet
Protocol for communication.

•

TCP :Transmission Control Protocol (TCP) is one of the two original core protocols of
the Internet Protocol Suite (IP), and is so common that the entire suite is often called TCP/IP.
TCP provides reliable, ordered, error-checked delivery of a stream of octets between
programs running on computers connected to an intranet or the public Internet.

•

Port Number : A port number is a 16 bit number which when associated with IP address ,
completes the destination address for a communications session.

•

Socket : A socket is nothing but a combination of IP address and port number. It is simply an
end while communication.
3
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.
4

Recommended for you

OSI Model
OSI ModelOSI Model
OSI Model

The document describes the seven-layer OSI model, with each layer responsible for certain network functions. The physical layer transmits raw bits over a transmission medium. The data link layer transmits frames between nodes. The network layer delivers packets from source to destination hosts via routing. The transport layer provides reliable process-to-process message delivery. The session layer establishes and manages communication sessions. The presentation layer handles translation and formatting. The application layer provides services to the user/application.

layers....?model
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol

SMTP (Simple Mail Transfer Protocol) is an Internet standard protocol for electronic mail transmission. It was first defined in 1982 and became widely used in the early 1980s as a complement to UUCP mail. SMTP uses a client-server model where the client initiates a connection and sends messages to the server, which then acknowledges receipt. It allows messages to be transferred between machines that are intermittently connected. Common SMTP commands include HELO, MAIL FROM, RCPT TO, DATA, QUIT, and RSET. SMTP can be secured using SSL/TLS to encrypt the communication channel. The latest developments include supporting real-time dynamic content in emails and internationalized email addresses encoded in UTF-8.

csesimple mail transfer protocol smtppresentation
TCP and UDP
TCP and UDP TCP and UDP
TCP and UDP

TCP and UDP are transport layer protocols used for data transfer in the OSI model. TCP is connection-oriented, requiring a three-way handshake to establish a connection that maintains data integrity. It guarantees data will reach its destination without duplication but is slower than UDP. UDP is connectionless and used for applications requiring fast transmission like video calls, but does not ensure packet delivery and order. Both protocols add headers to packets with TCP focused on reliability and UDP on speed.

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

5
HOW HTTP WORKS? (CONT.)

6
HOW HTTP WORKS? (CONT.)

7
HOW HTTP WORKS? (CONT.)

8

Recommended for you

Http protocol
Http protocolHttp protocol
Http protocol

HTTP is an application-level protocol for distributed, collaborative hypermedia systems that has been used by the World Wide Web since 1990. The initial HTTP/0.9 version provided a simple protocol for raw data transfer, while HTTP/1.0 introduced MIME-like messages to include meta information and request/response modifiers. HTTP/1.0 did not sufficiently account for hierarchical proxies, caching, persistent connections or virtual hosts. HTTP sits at the top of the TCP/IP stack and uses ports to carry protocols between services, with HTTP typically using port 80. An HTTP message is delivered over a TCP/IP connection by chopping the message into chunks small enough to fit in TCP segments, which are then sent inside IP datagrams

Https presentation
Https presentationHttps presentation
Https presentation

HTTPS is a protocol that combines HTTP with SSL/TLS encryption to provide secure communication between a client and server. It encrypts data sent between a browser and website using a public/private key system. When a client requests an HTTPS connection, the website sends its SSL certificate containing a public key. This begins the SSL handshake where shared secrets are generated to uniquely encrypt the connection. HTTPS is important for securing sensitive communications and establishing trust, as it is used widely on banking, payment, shopping and email sites.

jatin patel
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model

The document discusses the TCP/IP protocol suite and compares it to the OSI model. It describes the layers of the TCP/IP model including the physical, data link, internet, and transport layers. The transport layer uses TCP and UDP, with TCP being connection-oriented and reliable, while UDP is connectionless. The internet layer uses IP to transport datagrams independently. The OSI model has 7 layers while TCP/IP has 5 layers that do not directly correspond to the OSI layers.

networkingcomputernotes
HOW HTTP WORKS? (CONT.)

9
PERSISTENT AND NON-PERSISTENT CONNECTIONS
• In non-persistent connection each request/response pair are sent over a
separate TCP connection.

• In persistent connections all of the requests and their corresponding responses
are sent over the same TCP connection.

10
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.
11
REQUEST METHODS
• GET:
Retrieve Document identified in URL
• HEAD:
Retrieve meta information about document identified in URL
• DELETE:
Delete specified URL
• OPTIONS: Request information about available options
• PUT:
Store document under specified URL
• POST:
Give information to server
• TRACE:
Loopback request message
• CONNECT: For use by Proxies
12

Recommended for you

Presentation on data communication
Presentation on data communicationPresentation on data communication
Presentation on data communication

The document is a presentation submitted by Harpreet Kaur on data communications. It contains information on various topics related to data communications including an introduction to data communication, components of data communication such as sender, receiver, message, transmission medium and protocol. It also discusses data flow modes, analog and digital signals, types of transmission media including guided media such as coaxial cable, twisted pair cable and fiber optic cable, and unguided media. Finally, it covers networking devices such as modem, hub, switch and router.

HTTP
HTTPHTTP
HTTP

HTTP defines a client-server model for communication between browsers and web servers. A browser sends HTTP requests to a web server for web pages and objects. The server responds with HTTP responses containing the requested objects. HTTP uses TCP for reliable transmission and defines request and response message formats. Requests contain headers like Accept specifying object types. Responses contain status codes, headers like Content-Type, and the requested object data.

httpurlbrowser
Web servers
Web serversWeb servers
Web servers

Web servers are software applications that deliver web content accessible over the Internet or intranets. They host websites, files, scripts, and programs and serve them using HTTP and other protocols. Common web servers include Apache, Microsoft IIS, and Sun Java. Tomcat is an open source web server and servlet container. It implements Java servlets and JSP specifications, providing a Java HTTP environment. Tomcat's main components are Catalina for servlet handling, Coyote for HTTP connections, and Jasper for JSP compilation. While Apache is generally better for static content, Tomcat can be used with Apache for Java/JSP applications.

webserverpopular webserversapache
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.

13
SOME COMMON STATUS CODES AND
ASSOCIATED PHRASES
• Some common status codes and associated phrases
include:

• 200 OK: Request succeeded and the information is
returned in the response.

• 301 Moved Permanently: Requested object has been
permanently moved; the new URL is specified in Location:
header of the response message. The client software will
automatically retrieve the new URL.

• 400 Bad Request: This is a generic error code indicating
that the request could not be understood by the server.

• 404 Not Found: The requested document does not exist
on this server.

• 505 HTTP Version Not Supported: The requested HTTP
protocol version is not supported by the server.
14
15

An HTTP request using telnet
HTTP: A STATELESS PROTOCOL
• HTTP is a stateless protocol, because an HTTP server maintains no information
about the clients.

• If a particular client asks for the same object twice in a period of a few
seconds, the server does not respond by saying that it just served the object to
the client; instead, the server resends the object, as it has completely forgotten
what it did earlier.

16

Recommended for you

Socket Programming
Socket ProgrammingSocket Programming
Socket Programming

When we desire a communication between two applications possibly running on different machines, we need sockets. This presentation aims to provide knowledge of basic socket programming to undergraduate students. Basically, this presentation gives the importance of socket in the area of networking and Unix Programming. The presentation of Topic (Sockets) has designed according to the Network Programming Subject, B.Tech, 6th Semester syllabus of Punjab Technical University Kapurthala, Punjab.

sockettcpudp
Domain name system presentation
Domain name system presentationDomain name system presentation
Domain name system presentation

Domain Name System (DNS) is a hierarchical distributed database that contains mappings of domain names to IP addresses. DNS allows easy to remember domain names to be used instead of hard to remember IP addresses. It works by matching domain names to IP addresses through a lookup process involving root servers, top-level domain servers and authoritative name servers. This allows computers all over the world to communicate with each other using domain names.

Transport layer protocol
Transport layer protocolTransport layer protocol
Transport layer protocol

The document discusses the differences between packets and frames, and provides details on the transport layer. It explains that the transport layer is responsible for process-to-process delivery and uses port numbers for addressing. Connection-oriented protocols like TCP use three-way handshaking for connection establishment and termination, and implement flow and error control using mechanisms like sliding windows. Connectionless protocols like UDP are simpler but unreliable, treating each packet independently.

USER-SERVER INTERACTIONS: COOKIES
•

HTTP server being stateless, simplifies server design and has permitted engineers to
develop high-performance Web servers that can handle thousands of simultaneous
TCP connections. However, it is often desirable for a Web site to identify users, either
because the server wishes to restrict user access or because it wants to serve content
as a function of the user identity. For these purposes, HTTP uses cookies. Cookies
allow sites to keep track of users.

•

The cookie technology has four components:

•
•
•
•

a cookie header line in the HTTP response message
a cookie header line in the HTTP request message
a cookie file kept on the user’s end system and managed by the user’s browser

a back-end database at the Web site
17
18
WEB CACHING
•

Also called proxy server, is a network entity that
satisfies HTTP requests on the behalf of an origin Web
server.

•

The Web cache has its own disk storage and keeps
copies of recently requested objects in this storage.

•

A Web cache can substantially reduce the response
time for a client request, particularly if the bandwidth
between the client and the origin server is much less
than the bandwidth between the client and the cache.

•

Web caches can substantially reduce traffic
19

More Related Content

What's hot

IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
TheGodfather HA
 
Internet protocol (ip) ppt
Internet protocol (ip) pptInternet protocol (ip) ppt
Internet protocol (ip) ppt
Dulith Kasun
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
rahul kundu
 
OSI Model
OSI ModelOSI Model
OSI Model
Rahul Bandhe
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
Ujjayanta Bhaumik
 
TCP and UDP
TCP and UDP TCP and UDP
TCP and UDP
Ramesh Giri
 
Http protocol
Http protocolHttp protocol
Http protocol
Arpita Naik
 
Https presentation
Https presentationHttps presentation
Https presentation
patel jatin
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
Mukesh Tekwani
 
Presentation on data communication
Presentation on data communicationPresentation on data communication
Presentation on data communication
Harpreet Dhaliwal
 
HTTP
HTTPHTTP
Web servers
Web serversWeb servers
Web servers
Kuldeep Kulkarni
 
Socket Programming
Socket ProgrammingSocket Programming
Socket Programming
CEC Landran
 
Domain name system presentation
Domain name system presentationDomain name system presentation
Domain name system presentation
Anchit Dhingra
 
Transport layer protocol
Transport layer protocolTransport layer protocol
Transport layer protocol
N.Jagadish Kumar
 
Http Protocol
Http ProtocolHttp Protocol
Http Protocol
N R Z Malik
 
uniform resource locator
uniform resource locatoruniform resource locator
uniform resource locator
rajshreemuthiah
 
Web Servers (ppt)
Web Servers (ppt)Web Servers (ppt)
Web Servers (ppt)
webhostingguy
 
Telnet
TelnetTelnet
Network Layer
Network LayerNetwork Layer
Network Layer
Dr Shashikant Athawale
 

What's hot (20)

IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
 
Internet protocol (ip) ppt
Internet protocol (ip) pptInternet protocol (ip) ppt
Internet protocol (ip) ppt
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
 
OSI Model
OSI ModelOSI Model
OSI Model
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
TCP and UDP
TCP and UDP TCP and UDP
TCP and UDP
 
Http protocol
Http protocolHttp protocol
Http protocol
 
Https presentation
Https presentationHttps presentation
Https presentation
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
 
Presentation on data communication
Presentation on data communicationPresentation on data communication
Presentation on data communication
 
HTTP
HTTPHTTP
HTTP
 
Web servers
Web serversWeb servers
Web servers
 
Socket Programming
Socket ProgrammingSocket Programming
Socket Programming
 
Domain name system presentation
Domain name system presentationDomain name system presentation
Domain name system presentation
 
Transport layer protocol
Transport layer protocolTransport layer protocol
Transport layer protocol
 
Http Protocol
Http ProtocolHttp Protocol
Http Protocol
 
uniform resource locator
uniform resource locatoruniform resource locator
uniform resource locator
 
Web Servers (ppt)
Web Servers (ppt)Web Servers (ppt)
Web Servers (ppt)
 
Telnet
TelnetTelnet
Telnet
 
Network Layer
Network LayerNetwork Layer
Network Layer
 

Viewers also liked

Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
Rajan Pandey
 
Snmp
SnmpSnmp
File Transfer Protocol
File Transfer ProtocolFile Transfer Protocol
File Transfer Protocol
guest029bcd
 
Http Vs Https .
Http Vs Https . Http Vs Https .
Http Vs Https .
simplyharshad
 
Introduction to HTTP protocol
Introduction to HTTP protocolIntroduction to HTTP protocol
Introduction to HTTP protocol
Aviran Mordo
 
RESTful Web Services
RESTful Web ServicesRESTful Web Services
RESTful Web Services
Christopher Bartling
 
Network management systems in large enterprise
Network management systems in large enterpriseNetwork management systems in large enterprise
Network management systems in large enterprise
Nour Eldeen Mahmoud Khalifa
 
snmp
snmpsnmp
SNMP Network Management the Essentials
SNMP Network Management the EssentialsSNMP Network Management the Essentials
SNMP Network Management the Essentials
Living Online
 
Smart Instruments, Fieldbus, Ethernet and Wireless
Smart Instruments, Fieldbus, Ethernet and Wireless Smart Instruments, Fieldbus, Ethernet and Wireless
Smart Instruments, Fieldbus, Ethernet and Wireless
Living Online
 
Simple Network Management Protocol
Simple Network Management ProtocolSimple Network Management Protocol
Simple Network Management Protocol
Prasenjit Gayen
 
SCTP introduction
SCTP introductionSCTP introduction
SCTP introduction
Li Xiong
 
Digital Transmission
Digital TransmissionDigital Transmission
Digital Transmission
anuragyadav94
 
Networking Standards And Protocols
Networking Standards And ProtocolsNetworking Standards And Protocols
Networking Standards And Protocols
Steven Cahill
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
Shivani Godha
 
Congestion control
Congestion controlCongestion control
Congestion control
Krishna Ranjan
 
VLAN
VLANVLAN
Networking devices
Networking devicesNetworking devices
Networking devices
rupinderj
 
Verb powerpoint
Verb powerpointVerb powerpoint
Verb powerpoint
Jeanette Kropa
 
Network management
Network managementNetwork management
Network management
Mohd Arif
 

Viewers also liked (20)

Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
Snmp
SnmpSnmp
Snmp
 
File Transfer Protocol
File Transfer ProtocolFile Transfer Protocol
File Transfer Protocol
 
Http Vs Https .
Http Vs Https . Http Vs Https .
Http Vs Https .
 
Introduction to HTTP protocol
Introduction to HTTP protocolIntroduction to HTTP protocol
Introduction to HTTP protocol
 
RESTful Web Services
RESTful Web ServicesRESTful Web Services
RESTful Web Services
 
Network management systems in large enterprise
Network management systems in large enterpriseNetwork management systems in large enterprise
Network management systems in large enterprise
 
snmp
snmpsnmp
snmp
 
SNMP Network Management the Essentials
SNMP Network Management the EssentialsSNMP Network Management the Essentials
SNMP Network Management the Essentials
 
Smart Instruments, Fieldbus, Ethernet and Wireless
Smart Instruments, Fieldbus, Ethernet and Wireless Smart Instruments, Fieldbus, Ethernet and Wireless
Smart Instruments, Fieldbus, Ethernet and Wireless
 
Simple Network Management Protocol
Simple Network Management ProtocolSimple Network Management Protocol
Simple Network Management Protocol
 
SCTP introduction
SCTP introductionSCTP introduction
SCTP introduction
 
Digital Transmission
Digital TransmissionDigital Transmission
Digital Transmission
 
Networking Standards And Protocols
Networking Standards And ProtocolsNetworking Standards And Protocols
Networking Standards And Protocols
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
 
Congestion control
Congestion controlCongestion control
Congestion control
 
VLAN
VLANVLAN
VLAN
 
Networking devices
Networking devicesNetworking devices
Networking devices
 
Verb powerpoint
Verb powerpointVerb powerpoint
Verb powerpoint
 
Network management
Network managementNetwork management
Network management
 

Similar to HyperText Transfer Protocol (HTTP)

Compute rNetwork.pptx
Compute rNetwork.pptxCompute rNetwork.pptx
Compute rNetwork.pptx
ShehryarFreelancer
 
Web essentials clients, servers and communication – the internet – basic inte...
Web essentials clients, servers and communication – the internet – basic inte...Web essentials clients, servers and communication – the internet – basic inte...
Web essentials clients, servers and communication – the internet – basic inte...
smitha273566
 
Http
HttpHttp
Web & HTTP
Web & HTTPWeb & HTTP
Web & HTTP
MansiSingh269494
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
FabMinds
 
Http_Protocol.pptx
Http_Protocol.pptxHttp_Protocol.pptx
Http_Protocol.pptx
Abshar Fatima
 
Module 5 Application and presentation Layer .pptx
Module 5 Application and presentation Layer .pptxModule 5 Application and presentation Layer .pptx
Module 5 Application and presentation Layer .pptx
AASTHAJAJOO
 
Advanced Web Design And Development BIT 3207
Advanced Web Design And Development BIT 3207Advanced Web Design And Development BIT 3207
Advanced Web Design And Development BIT 3207
Lori Head
 
11 - ftp & web.ppt
11 - ftp & web.ppt11 - ftp & web.ppt
11 - ftp & web.ppt
ssuserf7cd2b
 
Clients and Servers.ppt
Clients and Servers.pptClients and Servers.ppt
Clients and Servers.ppt
Mohammed Ilyas
 
Http smuggling 1 200523064027
Http smuggling 1 200523064027Http smuggling 1 200523064027
Http smuggling 1 200523064027
n|u - The Open Security Community
 
HTTP Request Smuggling
HTTP Request SmugglingHTTP Request Smuggling
HTTP Request Smuggling
Akash Ashokan
 
An Introduction To World Wide Web
An Introduction To World Wide WebAn Introduction To World Wide Web
An Introduction To World Wide Web
Abhishek Kharbanda
 
Web technology-guide
Web technology-guideWeb technology-guide
Web technology-guide
Srihari
 
unit 1(chapter1).pdf
unit 1(chapter1).pdfunit 1(chapter1).pdf
unit 1(chapter1).pdf
ArunArun542872
 
An Introduction to HTTP
An Introduction to HTTPAn Introduction to HTTP
An Introduction to HTTP
Keerthana Krishnan
 
http presentation 1.pptx
http presentation 1.pptxhttp presentation 1.pptx
http presentation 1.pptx
DeepakKumar408406
 
Http Introduction
Http IntroductionHttp Introduction
Http Introduction
Akshay Dhole
 
APPLICATION LAYER PROTOCOLS .pptx
APPLICATION LAYER PROTOCOLS         .pptxAPPLICATION LAYER PROTOCOLS         .pptx
APPLICATION LAYER PROTOCOLS .pptx
ArnavPlayz
 
15 Application layer.pptx
15 Application layer.pptx15 Application layer.pptx
15 Application layer.pptx
MochamadSyaifulAnwar2
 

Similar to HyperText Transfer Protocol (HTTP) (20)

Compute rNetwork.pptx
Compute rNetwork.pptxCompute rNetwork.pptx
Compute rNetwork.pptx
 
Web essentials clients, servers and communication – the internet – basic inte...
Web essentials clients, servers and communication – the internet – basic inte...Web essentials clients, servers and communication – the internet – basic inte...
Web essentials clients, servers and communication – the internet – basic inte...
 
Http
HttpHttp
Http
 
Web & HTTP
Web & HTTPWeb & HTTP
Web & HTTP
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
 
Http_Protocol.pptx
Http_Protocol.pptxHttp_Protocol.pptx
Http_Protocol.pptx
 
Module 5 Application and presentation Layer .pptx
Module 5 Application and presentation Layer .pptxModule 5 Application and presentation Layer .pptx
Module 5 Application and presentation Layer .pptx
 
Advanced Web Design And Development BIT 3207
Advanced Web Design And Development BIT 3207Advanced Web Design And Development BIT 3207
Advanced Web Design And Development BIT 3207
 
11 - ftp & web.ppt
11 - ftp & web.ppt11 - ftp & web.ppt
11 - ftp & web.ppt
 
Clients and Servers.ppt
Clients and Servers.pptClients and Servers.ppt
Clients and Servers.ppt
 
Http smuggling 1 200523064027
Http smuggling 1 200523064027Http smuggling 1 200523064027
Http smuggling 1 200523064027
 
HTTP Request Smuggling
HTTP Request SmugglingHTTP Request Smuggling
HTTP Request Smuggling
 
An Introduction To World Wide Web
An Introduction To World Wide WebAn Introduction To World Wide Web
An Introduction To World Wide Web
 
Web technology-guide
Web technology-guideWeb technology-guide
Web technology-guide
 
unit 1(chapter1).pdf
unit 1(chapter1).pdfunit 1(chapter1).pdf
unit 1(chapter1).pdf
 
An Introduction to HTTP
An Introduction to HTTPAn Introduction to HTTP
An Introduction to HTTP
 
http presentation 1.pptx
http presentation 1.pptxhttp presentation 1.pptx
http presentation 1.pptx
 
Http Introduction
Http IntroductionHttp Introduction
Http Introduction
 
APPLICATION LAYER PROTOCOLS .pptx
APPLICATION LAYER PROTOCOLS         .pptxAPPLICATION LAYER PROTOCOLS         .pptx
APPLICATION LAYER PROTOCOLS .pptx
 
15 Application layer.pptx
15 Application layer.pptx15 Application layer.pptx
15 Application layer.pptx
 

Recently uploaded

The membership Module in the Odoo 17 ERP
The membership Module in the Odoo 17 ERPThe membership Module in the Odoo 17 ERP
The membership Module in the Odoo 17 ERP
Celine George
 
How to Show Sample Data in Tree and Kanban View in Odoo 17
How to Show Sample Data in Tree and Kanban View in Odoo 17How to Show Sample Data in Tree and Kanban View in Odoo 17
How to Show Sample Data in Tree and Kanban View in Odoo 17
Celine George
 
DANH SÁCH THÍ SINH XÉT TUYỂN SỚM ĐỦ ĐIỀU KIỆN TRÚNG TUYỂN ĐẠI HỌC CHÍNH QUY N...
DANH SÁCH THÍ SINH XÉT TUYỂN SỚM ĐỦ ĐIỀU KIỆN TRÚNG TUYỂN ĐẠI HỌC CHÍNH QUY N...DANH SÁCH THÍ SINH XÉT TUYỂN SỚM ĐỦ ĐIỀU KIỆN TRÚNG TUYỂN ĐẠI HỌC CHÍNH QUY N...
DANH SÁCH THÍ SINH XÉT TUYỂN SỚM ĐỦ ĐIỀU KIỆN TRÚNG TUYỂN ĐẠI HỌC CHÍNH QUY N...
thanhluan21
 
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
marianell3076
 
Is Email Marketing Really Effective In 2024?
Is Email Marketing Really Effective In 2024?Is Email Marketing Really Effective In 2024?
Is Email Marketing Really Effective In 2024?
Rakesh Jalan
 
The Jewish Trinity : Sabbath,Shekinah and Sanctuary 4.pdf
The Jewish Trinity : Sabbath,Shekinah and Sanctuary 4.pdfThe Jewish Trinity : Sabbath,Shekinah and Sanctuary 4.pdf
The Jewish Trinity : Sabbath,Shekinah and Sanctuary 4.pdf
JackieSparrow3
 
How to Install Theme in the Odoo 17 ERP
How to  Install Theme in the Odoo 17 ERPHow to  Install Theme in the Odoo 17 ERP
How to Install Theme in the Odoo 17 ERP
Celine George
 
matatag curriculum education for Kindergarten
matatag curriculum education for Kindergartenmatatag curriculum education for Kindergarten
matatag curriculum education for Kindergarten
SarahAlie1
 
Credit limit improvement system in odoo 17
Credit limit improvement system in odoo 17Credit limit improvement system in odoo 17
Credit limit improvement system in odoo 17
Celine George
 
Final_SD_Session3_Ferriols, Ador Dionisio, Fajardo.pptx
Final_SD_Session3_Ferriols, Ador Dionisio, Fajardo.pptxFinal_SD_Session3_Ferriols, Ador Dionisio, Fajardo.pptx
Final_SD_Session3_Ferriols, Ador Dionisio, Fajardo.pptx
shimeathdelrosario1
 
BRIGADA ESKWELA OPENING PROGRAM KICK OFF.pptx
BRIGADA ESKWELA OPENING PROGRAM KICK OFF.pptxBRIGADA ESKWELA OPENING PROGRAM KICK OFF.pptx
BRIGADA ESKWELA OPENING PROGRAM KICK OFF.pptx
kambal1234567890
 
Front Desk Management in the Odoo 17 ERP
Front Desk  Management in the Odoo 17 ERPFront Desk  Management in the Odoo 17 ERP
Front Desk Management in the Odoo 17 ERP
Celine George
 
Principles of Roods Approach!!!!!!!.pptx
Principles of Roods Approach!!!!!!!.pptxPrinciples of Roods Approach!!!!!!!.pptx
Principles of Roods Approach!!!!!!!.pptx
ibtesaam huma
 
Bedok NEWater Photostory - COM322 Assessment (Story 2)
Bedok NEWater Photostory - COM322 Assessment (Story 2)Bedok NEWater Photostory - COM322 Assessment (Story 2)
Bedok NEWater Photostory - COM322 Assessment (Story 2)
Liyana Rozaini
 
2024 KWL Back 2 School Summer Conference
2024 KWL Back 2 School Summer Conference2024 KWL Back 2 School Summer Conference
2024 KWL Back 2 School Summer Conference
KlettWorldLanguages
 
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptx
heathfieldcps1
 
Views in Odoo - Advanced Views - Pivot View in Odoo 17
Views in Odoo - Advanced Views - Pivot View in Odoo 17Views in Odoo - Advanced Views - Pivot View in Odoo 17
Views in Odoo - Advanced Views - Pivot View in Odoo 17
Celine George
 
Chapter-2-Era-of-One-party-Dominance-Class-12-Political-Science-Notes-2 (1).pptx
Chapter-2-Era-of-One-party-Dominance-Class-12-Political-Science-Notes-2 (1).pptxChapter-2-Era-of-One-party-Dominance-Class-12-Political-Science-Notes-2 (1).pptx
Chapter-2-Era-of-One-party-Dominance-Class-12-Political-Science-Notes-2 (1).pptx
Brajeswar Paul
 
ENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUM
ENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUMENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUM
ENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUM
HappieMontevirgenCas
 
AI_in_HR_Presentation Part 1 2024 0703.pdf
AI_in_HR_Presentation Part 1 2024 0703.pdfAI_in_HR_Presentation Part 1 2024 0703.pdf
AI_in_HR_Presentation Part 1 2024 0703.pdf
SrimanigandanMadurai
 

Recently uploaded (20)

The membership Module in the Odoo 17 ERP
The membership Module in the Odoo 17 ERPThe membership Module in the Odoo 17 ERP
The membership Module in the Odoo 17 ERP
 
How to Show Sample Data in Tree and Kanban View in Odoo 17
How to Show Sample Data in Tree and Kanban View in Odoo 17How to Show Sample Data in Tree and Kanban View in Odoo 17
How to Show Sample Data in Tree and Kanban View in Odoo 17
 
DANH SÁCH THÍ SINH XÉT TUYỂN SỚM ĐỦ ĐIỀU KIỆN TRÚNG TUYỂN ĐẠI HỌC CHÍNH QUY N...
DANH SÁCH THÍ SINH XÉT TUYỂN SỚM ĐỦ ĐIỀU KIỆN TRÚNG TUYỂN ĐẠI HỌC CHÍNH QUY N...DANH SÁCH THÍ SINH XÉT TUYỂN SỚM ĐỦ ĐIỀU KIỆN TRÚNG TUYỂN ĐẠI HỌC CHÍNH QUY N...
DANH SÁCH THÍ SINH XÉT TUYỂN SỚM ĐỦ ĐIỀU KIỆN TRÚNG TUYỂN ĐẠI HỌC CHÍNH QUY N...
 
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 
Is Email Marketing Really Effective In 2024?
Is Email Marketing Really Effective In 2024?Is Email Marketing Really Effective In 2024?
Is Email Marketing Really Effective In 2024?
 
The Jewish Trinity : Sabbath,Shekinah and Sanctuary 4.pdf
The Jewish Trinity : Sabbath,Shekinah and Sanctuary 4.pdfThe Jewish Trinity : Sabbath,Shekinah and Sanctuary 4.pdf
The Jewish Trinity : Sabbath,Shekinah and Sanctuary 4.pdf
 
How to Install Theme in the Odoo 17 ERP
How to  Install Theme in the Odoo 17 ERPHow to  Install Theme in the Odoo 17 ERP
How to Install Theme in the Odoo 17 ERP
 
matatag curriculum education for Kindergarten
matatag curriculum education for Kindergartenmatatag curriculum education for Kindergarten
matatag curriculum education for Kindergarten
 
Credit limit improvement system in odoo 17
Credit limit improvement system in odoo 17Credit limit improvement system in odoo 17
Credit limit improvement system in odoo 17
 
Final_SD_Session3_Ferriols, Ador Dionisio, Fajardo.pptx
Final_SD_Session3_Ferriols, Ador Dionisio, Fajardo.pptxFinal_SD_Session3_Ferriols, Ador Dionisio, Fajardo.pptx
Final_SD_Session3_Ferriols, Ador Dionisio, Fajardo.pptx
 
BRIGADA ESKWELA OPENING PROGRAM KICK OFF.pptx
BRIGADA ESKWELA OPENING PROGRAM KICK OFF.pptxBRIGADA ESKWELA OPENING PROGRAM KICK OFF.pptx
BRIGADA ESKWELA OPENING PROGRAM KICK OFF.pptx
 
Front Desk Management in the Odoo 17 ERP
Front Desk  Management in the Odoo 17 ERPFront Desk  Management in the Odoo 17 ERP
Front Desk Management in the Odoo 17 ERP
 
Principles of Roods Approach!!!!!!!.pptx
Principles of Roods Approach!!!!!!!.pptxPrinciples of Roods Approach!!!!!!!.pptx
Principles of Roods Approach!!!!!!!.pptx
 
Bedok NEWater Photostory - COM322 Assessment (Story 2)
Bedok NEWater Photostory - COM322 Assessment (Story 2)Bedok NEWater Photostory - COM322 Assessment (Story 2)
Bedok NEWater Photostory - COM322 Assessment (Story 2)
 
2024 KWL Back 2 School Summer Conference
2024 KWL Back 2 School Summer Conference2024 KWL Back 2 School Summer Conference
2024 KWL Back 2 School Summer Conference
 
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptx
 
Views in Odoo - Advanced Views - Pivot View in Odoo 17
Views in Odoo - Advanced Views - Pivot View in Odoo 17Views in Odoo - Advanced Views - Pivot View in Odoo 17
Views in Odoo - Advanced Views - Pivot View in Odoo 17
 
Chapter-2-Era-of-One-party-Dominance-Class-12-Political-Science-Notes-2 (1).pptx
Chapter-2-Era-of-One-party-Dominance-Class-12-Political-Science-Notes-2 (1).pptxChapter-2-Era-of-One-party-Dominance-Class-12-Political-Science-Notes-2 (1).pptx
Chapter-2-Era-of-One-party-Dominance-Class-12-Political-Science-Notes-2 (1).pptx
 
ENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUM
ENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUMENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUM
ENGLISH-7-CURRICULUM MAP- MATATAG CURRICULUM
 
AI_in_HR_Presentation Part 1 2024 0703.pdf
AI_in_HR_Presentation Part 1 2024 0703.pdfAI_in_HR_Presentation Part 1 2024 0703.pdf
AI_in_HR_Presentation Part 1 2024 0703.pdf
 

HyperText Transfer Protocol (HTTP)

  • 1. HyperText Transfer Protocol (HTTP) GURJOT SINGH REVTI RAMAN SINGH UG201113013 UG201110026 1
  • 2. WHAT IS A PROTOCOL AND HTTP? • Protocol: A Protocol is a standard procedure for defining and regulating communication. For example TCP, UDP, HTTP etc. • HTTP is the foundation of data communication for the World Wide Web. • The HTTP is the Web’s application-layer protocol for transferring various forms of data between server and client like plaintext, hypertext, image, videos and sounds . 2
  • 3. TERMINOLOGY • IP Address: An Internet Protocol address (IP address) is a numerical label assigned to each device (e.g., computer, printer) participating in a computer network that uses the Internet Protocol for communication. • TCP :Transmission Control Protocol (TCP) is one of the two original core protocols of the Internet Protocol Suite (IP), and is so common that the entire suite is often called TCP/IP. TCP provides reliable, ordered, error-checked delivery of a stream of octets between programs running on computers connected to an intranet or the public Internet. • Port Number : A port number is a 16 bit number which when associated with IP address , completes the destination address for a communications session. • Socket : A socket is nothing but a combination of IP address and port number. It is simply an end while communication. 3
  • 4. 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. 4
  • 5. HOW HTTP WORKS? Suppose client wants to visit www.yahoo.com 5
  • 6. HOW HTTP WORKS? (CONT.) 6
  • 7. HOW HTTP WORKS? (CONT.) 7
  • 8. HOW HTTP WORKS? (CONT.) 8
  • 9. HOW HTTP WORKS? (CONT.) 9
  • 10. PERSISTENT AND NON-PERSISTENT CONNECTIONS • In non-persistent connection each request/response pair are sent over a separate TCP connection. • In persistent connections all of the requests and their corresponding responses are sent over the same TCP connection. 10
  • 11. 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. 11
  • 12. REQUEST METHODS • GET: Retrieve Document identified in URL • HEAD: Retrieve meta information about document identified in URL • DELETE: Delete specified URL • OPTIONS: Request information about available options • PUT: Store document under specified URL • POST: Give information to server • TRACE: Loopback request message • CONNECT: For use by Proxies 12
  • 13. 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. 13
  • 14. SOME COMMON STATUS CODES AND ASSOCIATED PHRASES • Some common status codes and associated phrases include: • 200 OK: Request succeeded and the information is returned in the response. • 301 Moved Permanently: Requested object has been permanently moved; the new URL is specified in Location: header of the response message. The client software will automatically retrieve the new URL. • 400 Bad Request: This is a generic error code indicating that the request could not be understood by the server. • 404 Not Found: The requested document does not exist on this server. • 505 HTTP Version Not Supported: The requested HTTP protocol version is not supported by the server. 14
  • 15. 15 An HTTP request using telnet
  • 16. HTTP: A STATELESS PROTOCOL • HTTP is a stateless protocol, because an HTTP server maintains no information about the clients. • If a particular client asks for the same object twice in a period of a few seconds, the server does not respond by saying that it just served the object to the client; instead, the server resends the object, as it has completely forgotten what it did earlier. 16
  • 17. USER-SERVER INTERACTIONS: COOKIES • HTTP server being stateless, simplifies server design and has permitted engineers to develop high-performance Web servers that can handle thousands of simultaneous TCP connections. However, it is often desirable for a Web site to identify users, either because the server wishes to restrict user access or because it wants to serve content as a function of the user identity. For these purposes, HTTP uses cookies. Cookies allow sites to keep track of users. • The cookie technology has four components: • • • • a cookie header line in the HTTP response message a cookie header line in the HTTP request message a cookie file kept on the user’s end system and managed by the user’s browser a back-end database at the Web site 17
  • 18. 18
  • 19. WEB CACHING • Also called proxy server, is a network entity that satisfies HTTP requests on the behalf of an origin Web server. • The Web cache has its own disk storage and keeps copies of recently requested objects in this storage. • A Web cache can substantially reduce the response time for a client request, particularly if the bandwidth between the client and the origin server is much less than the bandwidth between the client and the cache. • Web caches can substantially reduce traffic 19