SlideShare a Scribd company logo
2
Most read
3
Most read
11
Most read
Hypertext Transfer Protocol
(HTTP)
SHIMONA AGARWAL
Introduction
HTTP was introduced by Tim Berners-Lee at CERN.
HTTP functions as a request–response protocol in the client–server
computing model. The client submits an HTTP request message to the
server. The server, which provides resources such as HTML files and
other content, or performs other functions on behalf of the client,
returns a response message to the client. The response contains
completion status information about the request and may also contain
requested content in its message body.
 HTTP is an application layer protocol, which commonly uses
TCP (transmission control protocol).
Connectivity
 HTTP does not handle network connectivity or how
information is transmitted.
 DNS protocol helps client to connect with
requested server.
 Application layer does important work like web
browsing or file transferring.
 The server respond to client request without
knowing anything about Client.
 Each request requires separate TCP network.
Request methods
Http/1.0 (the original version) contained 3 methods –
 GET
 POST
 HEAD
Request methods
GET
The GET method
requests a
representation of the
specified resource.
Requests using GET
should only retrieve
data and should have no
other effect.
POST
The POST method
requests that the server
accept the entity
enclosed in the request
as a new subordinate of
the web resource
identified by the URI.
HEAD
The HEAD method asks for
a response identical to that
of a GET request, but
without the response body.
This is useful for retrieving
meta-information written in
response headers, without
having to transport the entire
content.
Request methods
 HTTP/1.1 (revision of 1.0) added 5 new methods-
 PUT
 DELETE
 TRACE
 OPTION
 CONNECT
Request methods
PUT
The PUT method requests
that the enclosed entity be
stored under the supplied
URI. If the URI refers to
an already existing
resource then the
server can create the
resource with that URI.[
DELETE
The DELETE
method deletes the
specified resource.
TRACE
The TRACE method
echoes the received
request so that a client
can see what changes or
additions have been
made by intermediate
servers.
Request methods
OPTION
 This can be used to check the
functionality of a web server
by requesting '*' instead of a
specific resource.
CONNECT
 The CONNECT method
converts the request
connection to a transparent
TCP/IP.
Persistent Connection
HTTP persistent connection, also called HTTP keep-
alive, or HTTP connection reuse, is the idea of using a
single TCP connection to send and receive multiple HTTP
requests/responses.
Persistent connections stay open across transactions,
until either the client or the server decides to close
them.
Hypertext transfer protocol (http)
Advantages & Disadvantages
Advantages
 Lower CPU and memory usage (because fewer
connections are open simultaneously).
 Enables HTTP pipelining of requests and
responses.
 Reduced network congestion (fewer TCP
connections).
 Reduced latency in subsequent requests (no
handshaking).
 Errors can be reported without the penalty of
closing the TCP connection.
Disadvantages
 If the client does not close the connection
when all of the data it needs has been
received, then the server will be
unavailable for other clients.
Non- Persistent Connection
HTTP non persistent Connection is the idea of using a multiple TCP
connection to send and receive each HTTP requests/responses.
 Each object transfer suffers from low start.
 It is similar to being stateless.

More Related Content

What's hot (20)

PPTX
Simple Mail Transfer Protocol
Ujjayanta Bhaumik
 
PPTX
User datagram protocol (udp)
Ramola Dhande
 
PPTX
Network Layer design Issues.pptx
Acad
 
PPTX
Transmission Control Protocol (TCP)
k33a
 
PPT
Electronic mail
Diwaker Pant
 
PPTX
File Transfer Protocol - FTP
MahfuzRahman94
 
PPTX
TCP and UDP
Ramesh Giri
 
PPTX
HTTP & WWW
RazanAlsaif
 
PPT
Domain name system
Siddique Ibrahim
 
PPTX
Electronic mail - Computer Networks
Umme Jamal
 
PPTX
Http protocol
Arpita Naik
 
PDF
TCP - IP Presentation
Harish Chand
 
PPTX
uniform resource locator
rajshreemuthiah
 
PPTX
Tcp IP Model
Ankur Kumar
 
PDF
Hub, switch, router, bridge & and repeater
Maksudujjaman
 
PPT
Ports & sockets
myrajendra
 
PPTX
Protocols and the TCP/IP Protocol Suite
Atharaw Deshmukh
 
PPTX
Application layer protocols
FabMinds
 
PPTX
What is Ethernet
Simplilearn
 
PPT
OSI Model
Rahul Bandhe
 
Simple Mail Transfer Protocol
Ujjayanta Bhaumik
 
User datagram protocol (udp)
Ramola Dhande
 
Network Layer design Issues.pptx
Acad
 
Transmission Control Protocol (TCP)
k33a
 
Electronic mail
Diwaker Pant
 
File Transfer Protocol - FTP
MahfuzRahman94
 
TCP and UDP
Ramesh Giri
 
HTTP & WWW
RazanAlsaif
 
Domain name system
Siddique Ibrahim
 
Electronic mail - Computer Networks
Umme Jamal
 
Http protocol
Arpita Naik
 
TCP - IP Presentation
Harish Chand
 
uniform resource locator
rajshreemuthiah
 
Tcp IP Model
Ankur Kumar
 
Hub, switch, router, bridge & and repeater
Maksudujjaman
 
Ports & sockets
myrajendra
 
Protocols and the TCP/IP Protocol Suite
Atharaw Deshmukh
 
Application layer protocols
FabMinds
 
What is Ethernet
Simplilearn
 
OSI Model
Rahul Bandhe
 

Similar to Hypertext transfer protocol (http) (20)

PPTX
application of http.pptx
ssuseraf60311
 
PPTX
Compute rNetwork.pptx
ShehryarFreelancer
 
PDF
Hypertexttransferprotocolhttp 131012171813-phpapp02
Nidhitransport
 
PPTX
HTTP
vaibhavrai1993
 
PPTX
The HTTP and Web
Gouasmia Zakaria
 
PDF
Http
Soba Arjun
 
PPTX
Http
Maiyur Hossain
 
PDF
Introduction to HTTP for 3rd year undergraduate
VishalKumar14315
 
PPTX
Http-protocol
Toushik Paul
 
PPTX
Introduction to HTTP
Yihua Huang
 
PDF
Ch2 the application layer protocols_http_3
Syed Ariful Islam Emon
 
PPTX
Http_Protocol.pptx
Abshar Fatima
 
PPT
Http VS. Https
Raed Aldahdooh
 
PPT
KMUTNB - Internet Programming 2/7
phuphax
 
PDF
02 - Asassssssspplication Layer (HTTP).pdf
HasibTurjo
 
PDF
Communicating on the web
Adrian Cardenas
 
PDF
HTTP In-depth
Vinayak Hegde
 
PDF
HTTP Definition and Basics.
Halah Salih
 
PDF
HTTPs Strict Transport Security
Gol D Roger
 
PPTX
Hypertext Transfer Protocol
Shubham Srivastava
 
application of http.pptx
ssuseraf60311
 
Compute rNetwork.pptx
ShehryarFreelancer
 
Hypertexttransferprotocolhttp 131012171813-phpapp02
Nidhitransport
 
The HTTP and Web
Gouasmia Zakaria
 
Introduction to HTTP for 3rd year undergraduate
VishalKumar14315
 
Http-protocol
Toushik Paul
 
Introduction to HTTP
Yihua Huang
 
Ch2 the application layer protocols_http_3
Syed Ariful Islam Emon
 
Http_Protocol.pptx
Abshar Fatima
 
Http VS. Https
Raed Aldahdooh
 
KMUTNB - Internet Programming 2/7
phuphax
 
02 - Asassssssspplication Layer (HTTP).pdf
HasibTurjo
 
Communicating on the web
Adrian Cardenas
 
HTTP In-depth
Vinayak Hegde
 
HTTP Definition and Basics.
Halah Salih
 
HTTPs Strict Transport Security
Gol D Roger
 
Hypertext Transfer Protocol
Shubham Srivastava
 
Ad

Recently uploaded (20)

PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PPTX
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
PPTX
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
PDF
Horarios de distribución de agua en julio
pegazohn1978
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PPTX
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PPTX
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PPTX
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PPTX
PPT-Q1-WK-3-ENGLISH Revised Matatag Grade 3.pptx
reijhongidayawan02
 
PDF
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PPTX
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
Horarios de distribución de agua en julio
pegazohn1978
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PPT-Q1-WK-3-ENGLISH Revised Matatag Grade 3.pptx
reijhongidayawan02
 
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
Ad

Hypertext transfer protocol (http)

  • 2. Introduction HTTP was introduced by Tim Berners-Lee at CERN. HTTP functions as a request–response protocol in the client–server computing model. The client submits an HTTP request message to the server. The server, which provides resources such as HTML files and other content, or performs other functions on behalf of the client, returns a response message to the client. The response contains completion status information about the request and may also contain requested content in its message body.  HTTP is an application layer protocol, which commonly uses TCP (transmission control protocol).
  • 3. Connectivity  HTTP does not handle network connectivity or how information is transmitted.  DNS protocol helps client to connect with requested server.  Application layer does important work like web browsing or file transferring.  The server respond to client request without knowing anything about Client.  Each request requires separate TCP network.
  • 4. Request methods Http/1.0 (the original version) contained 3 methods –  GET  POST  HEAD
  • 5. Request methods GET The GET method requests a representation of the specified resource. Requests using GET should only retrieve data and should have no other effect. POST The POST method requests that the server accept the entity enclosed in the request as a new subordinate of the web resource identified by the URI. HEAD The HEAD method asks for a response identical to that of a GET request, but without the response body. This is useful for retrieving meta-information written in response headers, without having to transport the entire content.
  • 6. Request methods  HTTP/1.1 (revision of 1.0) added 5 new methods-  PUT  DELETE  TRACE  OPTION  CONNECT
  • 7. Request methods PUT The PUT method requests that the enclosed entity be stored under the supplied URI. If the URI refers to an already existing resource then the server can create the resource with that URI.[ DELETE The DELETE method deletes the specified resource. TRACE The TRACE method echoes the received request so that a client can see what changes or additions have been made by intermediate servers.
  • 8. Request methods OPTION  This can be used to check the functionality of a web server by requesting '*' instead of a specific resource. CONNECT  The CONNECT method converts the request connection to a transparent TCP/IP.
  • 9. Persistent Connection HTTP persistent connection, also called HTTP keep- alive, or HTTP connection reuse, is the idea of using a single TCP connection to send and receive multiple HTTP requests/responses. Persistent connections stay open across transactions, until either the client or the server decides to close them.
  • 11. Advantages & Disadvantages Advantages  Lower CPU and memory usage (because fewer connections are open simultaneously).  Enables HTTP pipelining of requests and responses.  Reduced network congestion (fewer TCP connections).  Reduced latency in subsequent requests (no handshaking).  Errors can be reported without the penalty of closing the TCP connection. Disadvantages  If the client does not close the connection when all of the data it needs has been received, then the server will be unavailable for other clients.
  • 12. Non- Persistent Connection HTTP non persistent Connection is the idea of using a multiple TCP connection to send and receive each HTTP requests/responses.  Each object transfer suffers from low start.  It is similar to being stateless.