Web & HTTP

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
1 de 12

Recomendados

Module 5 Application and presentation Layer .pptx por
Module 5 Application and presentation Layer .pptxModule 5 Application and presentation Layer .pptx
Module 5 Application and presentation Layer .pptxAASTHAJAJOO
19 visualizações156 slides
HyperText Transfer Protocol (HTTP) por
HyperText Transfer Protocol (HTTP)HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)Gurjot Singh
82.6K visualizações19 slides
Hypertexttransferprotocolhttp 131012171813-phpapp02 por
Hypertexttransferprotocolhttp 131012171813-phpapp02Hypertexttransferprotocolhttp 131012171813-phpapp02
Hypertexttransferprotocolhttp 131012171813-phpapp02Nidhitransport
72 visualizações19 slides
Unit v por
Unit v Unit v
Unit v APARNA P
43 visualizações15 slides
Browser por
BrowserBrowser
BrowserShweta Oza
179 visualizações28 slides
Compute rNetwork.pptx por
Compute rNetwork.pptxCompute rNetwork.pptx
Compute rNetwork.pptxShehryarFreelancer
15 visualizações13 slides

Mais conteúdo relacionado

Similar a Web & HTTP

Clients and Servers.ppt por
Clients and Servers.pptClients and Servers.ppt
Clients and Servers.pptMohammed Ilyas
7 visualizações47 slides
15 Application layer.pptx por
15 Application layer.pptx15 Application layer.pptx
15 Application layer.pptxMochamadSyaifulAnwar2
9 visualizações28 slides
unit 1(chapter1).pdf por
unit 1(chapter1).pdfunit 1(chapter1).pdf
unit 1(chapter1).pdfArunArun542872
3 visualizações22 slides
Application layer protocols por
Application layer protocolsApplication layer protocols
Application layer protocolsFabMinds
638 visualizações25 slides
Http_Protocol.pptx por
Http_Protocol.pptxHttp_Protocol.pptx
Http_Protocol.pptxAbshar Fatima
20 visualizações10 slides
Advanced Web Design And Development BIT 3207 por
Advanced Web Design And Development BIT 3207Advanced Web Design And Development BIT 3207
Advanced Web Design And Development BIT 3207Lori Head
2 visualizações41 slides

Similar a Web & HTTP(20)

Clients and Servers.ppt por Mohammed Ilyas
Clients and Servers.pptClients and Servers.ppt
Clients and Servers.ppt
Mohammed Ilyas7 visualizações
unit 1(chapter1).pdf por ArunArun542872
unit 1(chapter1).pdfunit 1(chapter1).pdf
unit 1(chapter1).pdf
ArunArun5428723 visualizações
Application layer protocols por FabMinds
Application layer protocolsApplication layer protocols
Application layer protocols
FabMinds638 visualizações
Http_Protocol.pptx por Abshar Fatima
Http_Protocol.pptxHttp_Protocol.pptx
Http_Protocol.pptx
Abshar Fatima20 visualizações
Advanced Web Design And Development BIT 3207 por Lori Head
Advanced Web Design And Development BIT 3207Advanced Web Design And Development BIT 3207
Advanced Web Design And Development BIT 3207
Lori Head2 visualizações
Www and http por SanthiNivas
Www and httpWww and http
Www and http
SanthiNivas320 visualizações
Http Introduction por Akshay Dhole
Http IntroductionHttp Introduction
Http Introduction
Akshay Dhole1.5K visualizações
Distributed web based systems por Reza Gh
Distributed web based systemsDistributed web based systems
Distributed web based systems
Reza Gh15.5K visualizações
Internet tools and services por learnt
Internet tools and servicesInternet tools and services
Internet tools and services
learnt27.3K visualizações
Web essentials clients, servers and communication – the internet – basic inte... por smitha273566
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...
smitha2735662K visualizações
Http protocol por Arpita Naik
Http protocolHttp protocol
Http protocol
Arpita Naik555 visualizações
application of http.pptx por ssuseraf60311
application of http.pptxapplication of http.pptx
application of http.pptx
ssuseraf603112 visualizações
www | HTTP | HTML - Tutorial por MSA Technosoft
www | HTTP | HTML - Tutorialwww | HTTP | HTML - Tutorial
www | HTTP | HTML - Tutorial
MSA Technosoft208 visualizações
WP Chap 1 & 2.pptx por AnkitaChauhan79
WP Chap 1 & 2.pptxWP Chap 1 & 2.pptx
WP Chap 1 & 2.pptx
AnkitaChauhan7919 visualizações
Intro. to the internet and web por dofirfauzi1302
Intro. to the internet and webIntro. to the internet and web
Intro. to the internet and web
dofirfauzi1302573 visualizações
introduction to Web system por hashim102
introduction to Web systemintroduction to Web system
introduction to Web system
hashim1024K visualizações

Último

Renewal Projects in Seismic Construction por
Renewal Projects in Seismic ConstructionRenewal Projects in Seismic Construction
Renewal Projects in Seismic ConstructionEngineering & Seismic Construction
5 visualizações8 slides
Plant Design Report-Oil Refinery.pdf por
Plant Design Report-Oil Refinery.pdfPlant Design Report-Oil Refinery.pdf
Plant Design Report-Oil Refinery.pdfSafeen Yaseen Ja'far
7 visualizações10 slides
REACTJS.pdf por
REACTJS.pdfREACTJS.pdf
REACTJS.pdfArthyR3
37 visualizações16 slides
Design of machine elements-UNIT 3.pptx por
Design of machine elements-UNIT 3.pptxDesign of machine elements-UNIT 3.pptx
Design of machine elements-UNIT 3.pptxgopinathcreddy
37 visualizações31 slides
MK__Cert.pdf por
MK__Cert.pdfMK__Cert.pdf
MK__Cert.pdfHassan Khan
19 visualizações1 slide
Créativité dans le design mécanique à l’aide de l’optimisation topologique por
Créativité dans le design mécanique à l’aide de l’optimisation topologiqueCréativité dans le design mécanique à l’aide de l’optimisation topologique
Créativité dans le design mécanique à l’aide de l’optimisation topologiqueLIEGE CREATIVE
8 visualizações84 slides

Último(20)

Plant Design Report-Oil Refinery.pdf por Safeen Yaseen Ja'far
Plant Design Report-Oil Refinery.pdfPlant Design Report-Oil Refinery.pdf
Plant Design Report-Oil Refinery.pdf
Safeen Yaseen Ja'far7 visualizações
REACTJS.pdf por ArthyR3
REACTJS.pdfREACTJS.pdf
REACTJS.pdf
ArthyR337 visualizações
Design of machine elements-UNIT 3.pptx por gopinathcreddy
Design of machine elements-UNIT 3.pptxDesign of machine elements-UNIT 3.pptx
Design of machine elements-UNIT 3.pptx
gopinathcreddy37 visualizações
MK__Cert.pdf por Hassan Khan
MK__Cert.pdfMK__Cert.pdf
MK__Cert.pdf
Hassan Khan19 visualizações
Créativité dans le design mécanique à l’aide de l’optimisation topologique por LIEGE CREATIVE
Créativité dans le design mécanique à l’aide de l’optimisation topologiqueCréativité dans le design mécanique à l’aide de l’optimisation topologique
Créativité dans le design mécanique à l’aide de l’optimisation topologique
LIEGE CREATIVE8 visualizações
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf por AlhamduKure
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdfASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf
AlhamduKure8 visualizações
Searching in Data Structure por raghavbirla63
Searching in Data StructureSearching in Data Structure
Searching in Data Structure
raghavbirla6317 visualizações
Pitchbook Repowerlab.pdf por VictoriaGaleano
Pitchbook Repowerlab.pdfPitchbook Repowerlab.pdf
Pitchbook Repowerlab.pdf
VictoriaGaleano6 visualizações
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc... por csegroupvn
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
csegroupvn8 visualizações
Design_Discover_Develop_Campaign.pptx por ShivanshSeth6
Design_Discover_Develop_Campaign.pptxDesign_Discover_Develop_Campaign.pptx
Design_Discover_Develop_Campaign.pptx
ShivanshSeth649 visualizações
SUMIT SQL PROJECT SUPERSTORE 1.pptx por Sumit Jadhav
SUMIT SQL PROJECT SUPERSTORE 1.pptxSUMIT SQL PROJECT SUPERSTORE 1.pptx
SUMIT SQL PROJECT SUPERSTORE 1.pptx
Sumit Jadhav 22 visualizações
Web Dev Session 1.pptx por VedVekhande
Web Dev Session 1.pptxWeb Dev Session 1.pptx
Web Dev Session 1.pptx
VedVekhande17 visualizações
START Newsletter 3 por Start Project
START Newsletter 3START Newsletter 3
START Newsletter 3
Start Project7 visualizações
Proposal Presentation.pptx por keytonallamon
Proposal Presentation.pptxProposal Presentation.pptx
Proposal Presentation.pptx
keytonallamon67 visualizações
BCIC - Manufacturing Conclave - Technology-Driven Manufacturing for Growth por Innomantra
BCIC - Manufacturing Conclave -  Technology-Driven Manufacturing for GrowthBCIC - Manufacturing Conclave -  Technology-Driven Manufacturing for Growth
BCIC - Manufacturing Conclave - Technology-Driven Manufacturing for Growth
Innomantra 15 visualizações
GDSC Mikroskil Members Onboarding 2023.pdf por gdscmikroskil
GDSC Mikroskil Members Onboarding 2023.pdfGDSC Mikroskil Members Onboarding 2023.pdf
GDSC Mikroskil Members Onboarding 2023.pdf
gdscmikroskil63 visualizações
_MAKRIADI-FOTEINI_diploma thesis.pptx por fotinimakriadi
_MAKRIADI-FOTEINI_diploma thesis.pptx_MAKRIADI-FOTEINI_diploma thesis.pptx
_MAKRIADI-FOTEINI_diploma thesis.pptx
fotinimakriadi12 visualizações
sam_software_eng_cv.pdf por sammyigbinovia
sam_software_eng_cv.pdfsam_software_eng_cv.pdf
sam_software_eng_cv.pdf
sammyigbinovia10 visualizações
2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx por lwang78
2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx
2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx
lwang78180 visualizações

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.

Notas do Editor

  1. Secure Socket layer Provides confidentiality, client and server authentication and data integrity.