SlideShare a Scribd company logo
WEB & HTTP
WORLD WIDE WEB
WWW
The concept of Web was first proposed by Tim Berners-Lee and was
commercially started in the early 1990s. At present, the web is a
repository of documents called web pages. Web pages are distributed
all over the world and related pages are linked together. Each web
page is a file with a name and address.
Web pages are linked together using hypertext, which takes user from
one document to another when a link to it appears in the document.
Hypermedia is a similar concept but it includes not only text but also
images, audio and video files in web page documents.
WWW is a distributed client-server service. The service is distributed
over multiple locations called sites. Each site can have one or many
web pages.
WEB CONCEPTS
• Web Client: Web client or browser interpret and display a web page. It has three
parts: a controller, client protocols & interpreters. Ex. Google, Safari, etc.
• Web Server: Servers store web pages. Each time a request is sent to the server, it
sends back corresponding web pages.
• Web Documents: Web Documents are of three types-
• Static Document: Fixed-content documents that cannot be changed by user.
When a request is sent by browser, only a copy of the document is sent back.
It is created using markup languages such as: HTML, XML, XHTML, etc.
• Dynamic document: Created by servers whenever browser requests the
document. Each request creates a fresh document using pre-written script or
program. These documents are created using scripting languages such as
JSP, ASP, ColdFusion, etc.
• Active Document: Upon request from a browser, document or script is sent
back to be run at the client site. Can be created using Java Applets.
UNIFORM RESOURCE LOCATOR (URL)
• Serves as a unique identifier for a web page to distinguish it from others.
• Four identifiers are required to define a web page namely- Protocol, Host, Port
and Path.
• Protocol: Client Server program required to access web page. Protocols
generally used include HTTP, FTP, etc.
• Host: IP address or unique name given to server. IP address can be in
dotted-decimal notation and name can be the unique domain name of host.
• Port: Predefined 16-bit integer for client-server application. For eg. port no.
for HTTP is 80.
• Path: Identifies the location and name of file in underlying operating system.
• URL is composed of the above four identifiers in the following format:
protocol://host:port/path (port is optional)
https://en.wikipedia.org/wiki/Attacus_taprobanis
HYPERTEXT TRANSFER PROTOCOL (HTTP)
• HTTP is an application-layer protocol for transmitting hypermedia documents,
such as HTML.
• Under HTTP protocol, the serve has port number 80 while client uses temporary
port number
• HTTP uses TCP which is connection-oriented and reliable.
• When a client sends request to server, a connection must be established first and
then any transaction may take place. After transaction connection is terminated.
• Only one TCP connection is used to transfer data.
• Commands from the client to the serve are embedded in the request message.
• HTTP is a stateless protocol, meaning that the server does not keep any data
(state) between two requests.
• The messages sent by the client, usually a Web browser, are called requests and
the messages sent by the server as an answer are called responses.
• When HTTP is run over SSL, it is referred to as HTTPS and provides security.
PERSISTENT VS NON-PERSISTENT CONNECTIONS
HTTP CONCEPTS
• To retrieve documents from a single server, two methods can be used-
non-persistent and persistent connections.
• Persistent connections are the default since version 1.1 of HTTP but
can be changed to non-persistent which were the default prior to this
version.
• Non-persistent connections- It involves creating a new TCP connection
for each document being retrieved from a server.
• Persistent connections- It includes opening only one TCP connection
for a server and using it to retrieve documents. Connection can be
closed upon request from client or time-out.
MESSAGE FORMATS
HTTP CONCEPTS
• Each message is made of
four sections.
• In request message first
section is request line and in
response message is status
line.
• Other three sections have
same names - Header lines,
Blank line and Entity body.
Response message (Source: internet)
Request message (Source: internet)
REQUEST MESSAGE
HTTP CONCEPTS
• Request line consists of three fields- method, URL and version.
• Methods define the request type. Several methods are defined in
HTTP 1.1 as shown below.
• Zero or more request header lines can be used to send additional
information from client to server. Each header contains a header
name, a colon, a space, and a header value.
• Entity body includes comments to be sent or file to be published on
website and may or may not be present.
(Source: internet)
RESPONSE MESSAGE
HTTP CONCEPTS
• Status line is composed of a status code, version
and phrase.
• Status code is a 3-digit number which defines the
status of the request.
• The status phrase explains the status code in text
form.
• Zero or more request header lines can be used to
send additional information from client to server.
Each header contains a header name, a colon, a
space, and a header value.
• The body contains the document to be sent from
the server to the client. It is present unless the
response is error message.
(Source: internet)
COOKIES
HTTP CONCEPTS
• Cookies are pieces of data used to remember information about clients.
• When a server receives a request from a client, the server stores some
information about the client in a file or string. It includes the cookie in the
response sent to the client where the cookie is stored by the client’s bowser
in the cookie directory.
• When a client sends a request to the server, the browser looks up the
cookie directory to check if cookies from this server is present.If yes, then
the browser includes the cookie in the request and the server can then use
that data.
• Only the server that creates a cookie can access its content.
PROXY-SERVERS
HTTP CONCEPTS
• A proxy server is a computer that keeps copies of responses to recent
requests.
• HTTP supports proxy servers.
• Proxy servers function as both client and server.
• When HTTP client sends request to proxy server, the proxy server checks its
cache, if response is not stored in cache, it redirects the request to
corresponding server.
• Incoming responses are sent to proxy servers for future use.
• Proxy servers reduce the load on the original server, decrease traffic and
improves the latency.
• Client must be configured to access the proxy server instead of target server.
THANK YOU

More Related Content

Similar to Web & HTTP (20)

PPTX
HTTP
bhavanatmithun
 
PPTX
Introduction to the Internet and Web.pptx
hishamousl
 
PPT
Clients and Servers.ppt
Mohammed Ilyas
 
PPTX
15 Application layer.pptx
MochamadSyaifulAnwar2
 
PDF
Unit-5_Application_QoS.pdfcomputer network
4SI21CS112RakeshMS
 
PDF
unit 1(chapter1).pdf
ArunArun542872
 
PPTX
Application layer protocols
FabMinds
 
PPTX
Http_Protocol.pptx
Abshar Fatima
 
PDF
Advanced Web Design And Development BIT 3207
Lori Head
 
PPTX
Www and http
SanthiNivas
 
PPTX
Web technology introduction to the web and its history
BKReddy3
 
PPTX
INTERNET PROGRAMMING unit1 web essential
psaranya21
 
PPTX
Http Introduction
Akshay Dhole
 
PPTX
Distributed web based systems
Reza Gh
 
PPTX
Internet tools and services
learnt
 
PPTX
Web essentials clients, servers and communication – the internet – basic inte...
smitha273566
 
PPTX
Web technology Unit I Part C
SSN College of Engineering, Kalavakkam
 
PPTX
IP UNIT 1.pptx
KousheekVinnakoti1
 
PPTX
Http protocol
Arpita Naik
 
Introduction to the Internet and Web.pptx
hishamousl
 
Clients and Servers.ppt
Mohammed Ilyas
 
15 Application layer.pptx
MochamadSyaifulAnwar2
 
Unit-5_Application_QoS.pdfcomputer network
4SI21CS112RakeshMS
 
unit 1(chapter1).pdf
ArunArun542872
 
Application layer protocols
FabMinds
 
Http_Protocol.pptx
Abshar Fatima
 
Advanced Web Design And Development BIT 3207
Lori Head
 
Www and http
SanthiNivas
 
Web technology introduction to the web and its history
BKReddy3
 
INTERNET PROGRAMMING unit1 web essential
psaranya21
 
Http Introduction
Akshay Dhole
 
Distributed web based systems
Reza Gh
 
Internet tools and services
learnt
 
Web essentials clients, servers and communication – the internet – basic inte...
smitha273566
 
Web technology Unit I Part C
SSN College of Engineering, Kalavakkam
 
IP UNIT 1.pptx
KousheekVinnakoti1
 
Http protocol
Arpita Naik
 

Recently uploaded (20)

PDF
2025 Laurence Sigler - Advancing Decision Support. Content Management Ecommer...
Francisco Javier Mora Serrano
 
PPTX
sunil mishra pptmmmmmmmmmmmmmmmmmmmmmmmmm
singhamit111
 
PDF
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
PDF
CAD-CAM U-1 Combined Notes_57761226_2025_04_22_14_40.pdf
shailendrapratap2002
 
PPTX
Basics of Auto Computer Aided Drafting .pptx
Krunal Thanki
 
PDF
Natural_Language_processing_Unit_I_notes.pdf
sanguleumeshit
 
PPTX
Information Retrieval and Extraction - Module 7
premSankar19
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PPTX
ETP Presentation(1000m3 Small ETP For Power Plant and industry
MD Azharul Islam
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PPTX
filteration _ pre.pptx 11111110001.pptx
awasthivaibhav825
 
PDF
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
PPTX
cybersecurityandthe importance of the that
JayachanduHNJc
 
PDF
Packaging Tips for Stainless Steel Tubes and Pipes
heavymetalsandtubes
 
PPTX
Inventory management chapter in automation and robotics.
atisht0104
 
PDF
Jual GPS Geodetik CHCNAV i93 IMU-RTK Lanjutan dengan Survei Visual
Budi Minds
 
PPTX
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
PDF
勉強会資料_An Image is Worth More Than 16x16 Patches
NABLAS株式会社
 
PPTX
Online Cab Booking and Management System.pptx
diptipaneri80
 
PDF
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
2025 Laurence Sigler - Advancing Decision Support. Content Management Ecommer...
Francisco Javier Mora Serrano
 
sunil mishra pptmmmmmmmmmmmmmmmmmmmmmmmmm
singhamit111
 
Introduction to Ship Engine Room Systems.pdf
Mahmoud Moghtaderi
 
CAD-CAM U-1 Combined Notes_57761226_2025_04_22_14_40.pdf
shailendrapratap2002
 
Basics of Auto Computer Aided Drafting .pptx
Krunal Thanki
 
Natural_Language_processing_Unit_I_notes.pdf
sanguleumeshit
 
Information Retrieval and Extraction - Module 7
premSankar19
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
ETP Presentation(1000m3 Small ETP For Power Plant and industry
MD Azharul Islam
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
filteration _ pre.pptx 11111110001.pptx
awasthivaibhav825
 
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
cybersecurityandthe importance of the that
JayachanduHNJc
 
Packaging Tips for Stainless Steel Tubes and Pipes
heavymetalsandtubes
 
Inventory management chapter in automation and robotics.
atisht0104
 
Jual GPS Geodetik CHCNAV i93 IMU-RTK Lanjutan dengan Survei Visual
Budi Minds
 
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
勉強会資料_An Image is Worth More Than 16x16 Patches
NABLAS株式会社
 
Online Cab Booking and Management System.pptx
diptipaneri80
 
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
Ad

Web & HTTP

  • 2. WORLD WIDE WEB WWW The concept of Web was first proposed by Tim Berners-Lee and was commercially started in the early 1990s. At present, the web is a repository of documents called web pages. Web pages are distributed all over the world and related pages are linked together. Each web page is a file with a name and address. Web pages are linked together using hypertext, which takes user from one document to another when a link to it appears in the document. Hypermedia is a similar concept but it includes not only text but also images, audio and video files in web page documents. WWW is a distributed client-server service. The service is distributed over multiple locations called sites. Each site can have one or many web pages.
  • 3. WEB CONCEPTS • Web Client: Web client or browser interpret and display a web page. It has three parts: a controller, client protocols & interpreters. Ex. Google, Safari, etc. • Web Server: Servers store web pages. Each time a request is sent to the server, it sends back corresponding web pages. • Web Documents: Web Documents are of three types- • Static Document: Fixed-content documents that cannot be changed by user. When a request is sent by browser, only a copy of the document is sent back. It is created using markup languages such as: HTML, XML, XHTML, etc. • Dynamic document: Created by servers whenever browser requests the document. Each request creates a fresh document using pre-written script or program. These documents are created using scripting languages such as JSP, ASP, ColdFusion, etc. • Active Document: Upon request from a browser, document or script is sent back to be run at the client site. Can be created using Java Applets.
  • 4. UNIFORM RESOURCE LOCATOR (URL) • Serves as a unique identifier for a web page to distinguish it from others. • Four identifiers are required to define a web page namely- Protocol, Host, Port and Path. • Protocol: Client Server program required to access web page. Protocols generally used include HTTP, FTP, etc. • Host: IP address or unique name given to server. IP address can be in dotted-decimal notation and name can be the unique domain name of host. • Port: Predefined 16-bit integer for client-server application. For eg. port no. for HTTP is 80. • Path: Identifies the location and name of file in underlying operating system. • URL is composed of the above four identifiers in the following format: protocol://host:port/path (port is optional) https://en.wikipedia.org/wiki/Attacus_taprobanis
  • 5. HYPERTEXT TRANSFER PROTOCOL (HTTP) • HTTP is an application-layer protocol for transmitting hypermedia documents, such as HTML. • Under HTTP protocol, the serve has port number 80 while client uses temporary port number • HTTP uses TCP which is connection-oriented and reliable. • When a client sends request to server, a connection must be established first and then any transaction may take place. After transaction connection is terminated. • Only one TCP connection is used to transfer data. • Commands from the client to the serve are embedded in the request message. • HTTP is a stateless protocol, meaning that the server does not keep any data (state) between two requests. • The messages sent by the client, usually a Web browser, are called requests and the messages sent by the server as an answer are called responses. • When HTTP is run over SSL, it is referred to as HTTPS and provides security.
  • 6. PERSISTENT VS NON-PERSISTENT CONNECTIONS HTTP CONCEPTS • To retrieve documents from a single server, two methods can be used- non-persistent and persistent connections. • Persistent connections are the default since version 1.1 of HTTP but can be changed to non-persistent which were the default prior to this version. • Non-persistent connections- It involves creating a new TCP connection for each document being retrieved from a server. • Persistent connections- It includes opening only one TCP connection for a server and using it to retrieve documents. Connection can be closed upon request from client or time-out.
  • 7. MESSAGE FORMATS HTTP CONCEPTS • Each message is made of four sections. • In request message first section is request line and in response message is status line. • Other three sections have same names - Header lines, Blank line and Entity body. Response message (Source: internet) Request message (Source: internet)
  • 8. REQUEST MESSAGE HTTP CONCEPTS • Request line consists of three fields- method, URL and version. • Methods define the request type. Several methods are defined in HTTP 1.1 as shown below. • Zero or more request header lines can be used to send additional information from client to server. Each header contains a header name, a colon, a space, and a header value. • Entity body includes comments to be sent or file to be published on website and may or may not be present. (Source: internet)
  • 9. RESPONSE MESSAGE HTTP CONCEPTS • Status line is composed of a status code, version and phrase. • Status code is a 3-digit number which defines the status of the request. • The status phrase explains the status code in text form. • Zero or more request header lines can be used to send additional information from client to server. Each header contains a header name, a colon, a space, and a header value. • The body contains the document to be sent from the server to the client. It is present unless the response is error message. (Source: internet)
  • 10. COOKIES HTTP CONCEPTS • Cookies are pieces of data used to remember information about clients. • When a server receives a request from a client, the server stores some information about the client in a file or string. It includes the cookie in the response sent to the client where the cookie is stored by the client’s bowser in the cookie directory. • When a client sends a request to the server, the browser looks up the cookie directory to check if cookies from this server is present.If yes, then the browser includes the cookie in the request and the server can then use that data. • Only the server that creates a cookie can access its content.
  • 11. PROXY-SERVERS HTTP CONCEPTS • A proxy server is a computer that keeps copies of responses to recent requests. • HTTP supports proxy servers. • Proxy servers function as both client and server. • When HTTP client sends request to proxy server, the proxy server checks its cache, if response is not stored in cache, it redirects the request to corresponding server. • Incoming responses are sent to proxy servers for future use. • Proxy servers reduce the load on the original server, decrease traffic and improves the latency. • Client must be configured to access the proxy server instead of target server.

Editor's Notes

  • #6: Secure Socket layer Provides confidentiality, client and server authentication and data integrity.