SlideShare a Scribd company logo
Web Technology
II BCA Unit I part-II
Hyper Text Transfer Protocol (HTTP):
• Introduction
• Web Servers and Clients
• Resources
• URL and its Anatomy
• Message Format
• Request Message Request Line
• Request Type (Method)
• Response Message
• Status code
• Headers
• General Headers
• Persistent and Non-persistent Connections
• Web Caching
• Proxy
• Architecture
• Cache Consistency
• Pull Method
• Push Method
• Drawbacks
Introduction:
• HTTP (Hypertext Transfer Protocol).
• It is an application layer protocol in the TCP/IP protocol suite.
• Resources:
• Developed to transfer files and data in distributed, collaborative,
hypermedia information systems.
• WWW is based on HTTP.
• Web pages:
• WWW is a respository of resources stored in different computers
all over the world.
Purpose:
• HTTP is to transfer web pages from one computer (web server)
to another computer (web client).
• It is useful to transfer web pages containing links (hypertexts)
in an environment.
• There are rapid jumps among such hyperlinked web pages.
• It allows us to transfer a wide variety of data such as text,
image, audio, video, and even the result of a query.
Standardized:
• World Wide Web Consortium (W3C)
• Internet Engineering Task Force (IETF)
First Version:
• HTTP/1.0. was released in February,1996
Current Version:
• Specification of HTTP/1.1 [RFC 2016] was published in June
1999 and still use.
Web Servers and Clients:
• HTTP protocol is basically a request-response protocol
between clients and a server.
• Web servers or HTTP server?
• To this protocol, a process is run which creates and stores
resources such as HTML files, images, etc.
• This process provides the resources on request.
• It is designed to wait for incoming requests.
Web technology Unit I  Part C
A request for
a resources
Request
Comes Process
Responds with the
desired resource
Finally
Identifies the correct
resource
Who will send the requests?
Those who want to access some resources available on the web server.
Web Client or User agent:
• To access resources on the web server, a process is designed to
communicate with the server.
• It communicate with the web server using a set of rules and is
actually specified by the HTTP protocol.
• Web browsers are nothing but those web clients,
• They use HTTP protocol to communicate with the web server
to access resources specified by the URL at the address bar of
the web browsers.
Web technology Unit I  Part C
Port Number:
• Web server typically run on port 80 through any available port
number is used.
• TCP/IP protocol suite, a process in a machine is assigned a
locally unique positive integer.
• It can be used to identify a process within a machine uniquely.
IPAddress:
• A device connected to the Internet is assigned a unique 32-bit
address.
• It through with the port number uniquely identifies a process all
over the world.
• IP address and port pair is called socket address of the resource.
• To communicate with the web server, web clients need to specify
the socket address of the web server.
Web technology Unit I  Part C
Resources:
• The idea of resource is fundamental of WWW.
• It is used to represent basic elements in the web.
• Introduced: 1990-94
• Definition:
• It is extended further to refer to any element that can be
identified, named, addressed, and handled in any form in the
large web or smaller networked system.
• Early Web:
• A network of objects (static) files.
• Each of these objects is called a resource.
• Entity:
• A resource in the web any entity can be identified.
• The most common kind of resource is a file such as a text file,
an image file, an audio or video file.
• May be dynamically generated query result, the output of a
CGI program.
Identification of resource of phases:
• Naming
• Addressing
URL:
• The addressing part is protocol dependent.
• HTTP has its own scheme to address web resources.
URLand its Anatomy:
URL:
• A resource on the web is identified by an address.
Introduced: 1994 part of URI (Uniform Resource Identifier)
• URLs are subset of URLs
• It is used to address basically electronic resources.
• It is used to identify resources in many protocols such as ftp,
http, gopher, mailto, news, nntp, telnet, wais, file and
prospero.
URLs that are used to access web resources via HTTP.
Syntax:
• It is pretty simple and is similar to mailing address.
• It consists of several parts each of which contains a specific
information to identify a resource.
• It encapsulates a lot of information such as the protocol to be
used for this URL.
• Like host address (domain name or IP address), port address etc.
• Square brackets are optional
protocol://host:[port]/[path[?params][#anchor]]
Web technology Unit I  Part C
Web technology Unit I  Part C
Protocol:
• It is used for this URL.
• For HTTP URL, the protocol is http.
• Other protocols are ftp, http, gopher, mailto, news, nntp,
telnet, wais, file and prospero.
• The syntax of protocol is different from different protocols.
Host:
• Fully Qualified Domain Name (FQDN) or IP address:
• The computer where the web server runs.
• It consists of a series of domain levels separated by dots (.).
• Domain Name System (DNS):
• The Domain Name is a hierarchical name assigned to a host.
• They are case-insensitive
• Example:
• Popular Google and Yahoo web servers
• www.google.com or WWW.GOOGLE.COM
IPAddress:
• It also identifies a computer uniquely all over the world and
specified in the host part.
• It is a 32-bit address of the computer used by the IP of TCP/IP
protocol suite.
• It is divided into four parts each having 8 bits.
• It is written usually in decimal numbers separated by three dots
(.) is called decimal dotted notation.
• Example:
• www.google.com – 64.233.169.147
• www.yahoo.com – 69.147.76.15
Port:
• It indicates optional port number of process to connect to.
• A locally unique positive integer assigned to it.
• If many processes run in a computer, the port number uniquely
identifies a particular process within it.
• Web server – port 80.
• Example:
• In URL, if not port is specified, port 80 is assumed.
Path:
Document Root:
• The location of a file or a program specified by the web server.
• It is case-insensitive.
Example:
• Perl, CGI, JSP, PHP, etc.
• It is a directory where resources are stored.
• The path of a resource is calculated relative to this document
root.
• It varies from one web server to another.
Example:
• Apache Web Server, the document root is set to
/var/www/html
• Microsoft’s IIS (Internet Information Server) uses
c:Inetpubwww as default document root.
Principle:
• May be case-sensitive for servers that typically run on the
Window environment.
Params:
• It contains a parameter to be passed to web applications such
as PHP, JSP, etc.
• The path and parameter are separated by ? character.
• It consists of a (name = value) pair separated by an (&).
• Example:
• login=gdkf & id=543543 & page=inbox
• It specifies three parameters:
• Names - login, id and page
• Values - “gdkf”, “543543” , “inbox”
Anchor:
• It specifies location in the web page.
• Example:
• Location is created using <a> tag.
• <a name=“appendix”>Appendix</a>
• Referred:
• http://www.it.jusl.ac.in/httphelp.html#appendix
URLExamples:
Protocol Host Port Path Anchor Params
http:// www.google.com
http:// www.it.just.ac.in: 8080/ history.html
http:// www.it.just.ac.in: 8081/ history.html
http:// www.it.just.ac.in: location,html# how to
http:// www.it.just.ac.in: 8080/ Report.jsp? type=name

More Related Content

What's hot (20)

PPTX
HTTP
bhavanatmithun
 
PPTX
The HTTP and Web
Gouasmia Zakaria
 
PDF
Unit 5 application layer
Kritika Purohit
 
PPTX
Httpbasics 1207412539273264-9-converted
computerorganization
 
PPTX
Hypertex transfer protocol
wanangwa234
 
PDF
HTTP & HTML & Web
Peter R. Egli
 
PPTX
introduction for web connectivity (IoT)
FabMinds
 
PPTX
Http
Maiyur Hossain
 
PPT
HyperText Transfer Protocol
ponduse
 
PPTX
HTTP & WWW
RazanAlsaif
 
PPTX
Hypertext Transfer Protocol
Rajan Pandey
 
PDF
HTTP Definition and Basics.
Halah Salih
 
PPSX
Hypertext Transfer Protocol
selvakumar_b1985
 
PPTX
Network Protocols
Christopher Brown
 
PPTX
Http Vs Https .
simplyharshad
 
PPTX
Http and its Applications
Nayan Dagliya
 
PPTX
web connectivity in IoT
FabMinds
 
PPTX
Web technologies: HTTP
Piero Fraternali
 
PPTX
Http-protocol
Toushik Paul
 
PPT
HTTP Basics
sanjoysanyal
 
The HTTP and Web
Gouasmia Zakaria
 
Unit 5 application layer
Kritika Purohit
 
Httpbasics 1207412539273264-9-converted
computerorganization
 
Hypertex transfer protocol
wanangwa234
 
HTTP & HTML & Web
Peter R. Egli
 
introduction for web connectivity (IoT)
FabMinds
 
HyperText Transfer Protocol
ponduse
 
HTTP & WWW
RazanAlsaif
 
Hypertext Transfer Protocol
Rajan Pandey
 
HTTP Definition and Basics.
Halah Salih
 
Hypertext Transfer Protocol
selvakumar_b1985
 
Network Protocols
Christopher Brown
 
Http Vs Https .
simplyharshad
 
Http and its Applications
Nayan Dagliya
 
web connectivity in IoT
FabMinds
 
Web technologies: HTTP
Piero Fraternali
 
Http-protocol
Toushik Paul
 
HTTP Basics
sanjoysanyal
 

Similar to Web technology Unit I Part C (20)

PPTX
Web technology introduction to the web and its history
BKReddy3
 
PDF
[DSBW Spring 2009] Unit 02: Web Technologies (1/2)
Carles Farré
 
PDF
unit 1(chapter1).pdf
ArunArun542872
 
PPTX
Web Unit 1. it is very good material for web development
nikhilsridharabtech2
 
PPTX
Basic concept of internet
Snehal Shahane
 
PPTX
Application layer
anonymous
 
PPTX
CN UNIT5.pptxCN unit5CN unit5CN unit5CN unit5CN unit5CN unit5CN unit5CN unit5...
RanjiniRanju13
 
PPTX
Web Technologies- lecture1&2.Web Technologies- lecture1&2.pptxpptx
mcaajiet25
 
PDF
Introduction to HTTP
Seble Nigussie
 
PPTX
Lecture 1 Introduction to Web Development.pptx
Kevi20
 
PPT
Web
Mayank Vora
 
PPT
www | HTTP | HTML - Tutorial
MSA Technosoft
 
PPTX
CN UNIT V.pptx
VISWANATHAN R V
 
PPTX
Introduction to the Internet and Web.pptx
hishamousl
 
PPTX
Unit 1 introduction to web programming
zahid7578
 
PPTX
Web application development ( basics )
Chirag Nag
 
PDF
introduction_to_web_technology.pdf
VishwanathBurkpalli
 
PPTX
Web design - How the Web works?
Mustafa Kamel Mohammadi
 
PDF
Web Technologies Notes - TutorialsDuniya.pdf
Raghunathan52
 
PDF
Web Technologies Notes - TutorialsDuniya.pdf
Raghunathan52
 
Web technology introduction to the web and its history
BKReddy3
 
[DSBW Spring 2009] Unit 02: Web Technologies (1/2)
Carles Farré
 
unit 1(chapter1).pdf
ArunArun542872
 
Web Unit 1. it is very good material for web development
nikhilsridharabtech2
 
Basic concept of internet
Snehal Shahane
 
Application layer
anonymous
 
CN UNIT5.pptxCN unit5CN unit5CN unit5CN unit5CN unit5CN unit5CN unit5CN unit5...
RanjiniRanju13
 
Web Technologies- lecture1&2.Web Technologies- lecture1&2.pptxpptx
mcaajiet25
 
Introduction to HTTP
Seble Nigussie
 
Lecture 1 Introduction to Web Development.pptx
Kevi20
 
www | HTTP | HTML - Tutorial
MSA Technosoft
 
CN UNIT V.pptx
VISWANATHAN R V
 
Introduction to the Internet and Web.pptx
hishamousl
 
Unit 1 introduction to web programming
zahid7578
 
Web application development ( basics )
Chirag Nag
 
introduction_to_web_technology.pdf
VishwanathBurkpalli
 
Web design - How the Web works?
Mustafa Kamel Mohammadi
 
Web Technologies Notes - TutorialsDuniya.pdf
Raghunathan52
 
Web Technologies Notes - TutorialsDuniya.pdf
Raghunathan52
 
Ad

More from SSN College of Engineering, Kalavakkam (20)

PDF
Localization, Classification, and Evaluation.pdf
SSN College of Engineering, Kalavakkam
 
PPTX
Database Management System
SSN College of Engineering, Kalavakkam
 
PPTX
Unit III - Inventory Problems
SSN College of Engineering, Kalavakkam
 
PPTX
Unit II B - Game Theory
SSN College of Engineering, Kalavakkam
 
PPTX
Unit II A - Game Theory
SSN College of Engineering, Kalavakkam
 
PPTX
Unit V - Queuing Theory
SSN College of Engineering, Kalavakkam
 
PPTX
Unit IV-Project Management
SSN College of Engineering, Kalavakkam
 
PPTX
Web technology Unit-II Part-C
SSN College of Engineering, Kalavakkam
 
PPTX
Data structure Unit-I Part-C
SSN College of Engineering, Kalavakkam
 
PPTX
Data structure unit I part B
SSN College of Engineering, Kalavakkam
 
PPTX
Web technology Unit-II Part A
SSN College of Engineering, Kalavakkam
 
PPTX
Data structure Unit-I Part A
SSN College of Engineering, Kalavakkam
 
PPTX
Web technology unit I - Part B
SSN College of Engineering, Kalavakkam
 
Ad

Recently uploaded (20)

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
 
PDF
The dynastic history of the Chahmana.pdf
PrachiSontakke5
 
PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PPTX
How to Set Maximum Difference Odoo 18 POS
Celine George
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PDF
The-Ever-Evolving-World-of-Science (1).pdf/7TH CLASS CURIOSITY /1ST CHAPTER/B...
Sandeep Swamy
 
PPTX
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
PDF
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PDF
People & Earth's Ecosystem -Lesson 2: People & Population
marvinnbustamante1
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
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
 
The dynastic history of the Chahmana.pdf
PrachiSontakke5
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
How to Set Maximum Difference Odoo 18 POS
Celine George
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
community health nursing question paper 2.pdf
Prince kumar
 
The-Ever-Evolving-World-of-Science (1).pdf/7TH CLASS CURIOSITY /1ST CHAPTER/B...
Sandeep Swamy
 
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
People & Earth's Ecosystem -Lesson 2: People & Population
marvinnbustamante1
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 

Web technology Unit I Part C

  • 1. Web Technology II BCA Unit I part-II
  • 2. Hyper Text Transfer Protocol (HTTP): • Introduction • Web Servers and Clients • Resources • URL and its Anatomy • Message Format • Request Message Request Line • Request Type (Method) • Response Message • Status code • Headers • General Headers • Persistent and Non-persistent Connections • Web Caching • Proxy • Architecture • Cache Consistency • Pull Method • Push Method • Drawbacks
  • 3. Introduction: • HTTP (Hypertext Transfer Protocol). • It is an application layer protocol in the TCP/IP protocol suite. • Resources: • Developed to transfer files and data in distributed, collaborative, hypermedia information systems. • WWW is based on HTTP. • Web pages: • WWW is a respository of resources stored in different computers all over the world.
  • 4. Purpose: • HTTP is to transfer web pages from one computer (web server) to another computer (web client). • It is useful to transfer web pages containing links (hypertexts) in an environment. • There are rapid jumps among such hyperlinked web pages. • It allows us to transfer a wide variety of data such as text, image, audio, video, and even the result of a query.
  • 5. Standardized: • World Wide Web Consortium (W3C) • Internet Engineering Task Force (IETF) First Version: • HTTP/1.0. was released in February,1996 Current Version: • Specification of HTTP/1.1 [RFC 2016] was published in June 1999 and still use.
  • 6. Web Servers and Clients: • HTTP protocol is basically a request-response protocol between clients and a server. • Web servers or HTTP server? • To this protocol, a process is run which creates and stores resources such as HTML files, images, etc. • This process provides the resources on request. • It is designed to wait for incoming requests.
  • 8. A request for a resources Request Comes Process Responds with the desired resource Finally Identifies the correct resource Who will send the requests? Those who want to access some resources available on the web server.
  • 9. Web Client or User agent: • To access resources on the web server, a process is designed to communicate with the server. • It communicate with the web server using a set of rules and is actually specified by the HTTP protocol. • Web browsers are nothing but those web clients, • They use HTTP protocol to communicate with the web server to access resources specified by the URL at the address bar of the web browsers.
  • 11. Port Number: • Web server typically run on port 80 through any available port number is used. • TCP/IP protocol suite, a process in a machine is assigned a locally unique positive integer. • It can be used to identify a process within a machine uniquely. IPAddress: • A device connected to the Internet is assigned a unique 32-bit address. • It through with the port number uniquely identifies a process all over the world. • IP address and port pair is called socket address of the resource. • To communicate with the web server, web clients need to specify the socket address of the web server.
  • 13. Resources: • The idea of resource is fundamental of WWW. • It is used to represent basic elements in the web. • Introduced: 1990-94 • Definition: • It is extended further to refer to any element that can be identified, named, addressed, and handled in any form in the large web or smaller networked system. • Early Web: • A network of objects (static) files. • Each of these objects is called a resource. • Entity: • A resource in the web any entity can be identified.
  • 14. • The most common kind of resource is a file such as a text file, an image file, an audio or video file. • May be dynamically generated query result, the output of a CGI program. Identification of resource of phases: • Naming • Addressing URL: • The addressing part is protocol dependent. • HTTP has its own scheme to address web resources.
  • 15. URLand its Anatomy: URL: • A resource on the web is identified by an address. Introduced: 1994 part of URI (Uniform Resource Identifier) • URLs are subset of URLs • It is used to address basically electronic resources. • It is used to identify resources in many protocols such as ftp, http, gopher, mailto, news, nntp, telnet, wais, file and prospero. URLs that are used to access web resources via HTTP.
  • 16. Syntax: • It is pretty simple and is similar to mailing address. • It consists of several parts each of which contains a specific information to identify a resource. • It encapsulates a lot of information such as the protocol to be used for this URL. • Like host address (domain name or IP address), port address etc. • Square brackets are optional protocol://host:[port]/[path[?params][#anchor]]
  • 19. Protocol: • It is used for this URL. • For HTTP URL, the protocol is http. • Other protocols are ftp, http, gopher, mailto, news, nntp, telnet, wais, file and prospero. • The syntax of protocol is different from different protocols.
  • 20. Host: • Fully Qualified Domain Name (FQDN) or IP address: • The computer where the web server runs. • It consists of a series of domain levels separated by dots (.). • Domain Name System (DNS): • The Domain Name is a hierarchical name assigned to a host. • They are case-insensitive • Example: • Popular Google and Yahoo web servers • www.google.com or WWW.GOOGLE.COM
  • 21. IPAddress: • It also identifies a computer uniquely all over the world and specified in the host part. • It is a 32-bit address of the computer used by the IP of TCP/IP protocol suite. • It is divided into four parts each having 8 bits. • It is written usually in decimal numbers separated by three dots (.) is called decimal dotted notation. • Example: • www.google.com – 64.233.169.147 • www.yahoo.com – 69.147.76.15
  • 22. Port: • It indicates optional port number of process to connect to. • A locally unique positive integer assigned to it. • If many processes run in a computer, the port number uniquely identifies a particular process within it. • Web server – port 80. • Example: • In URL, if not port is specified, port 80 is assumed.
  • 23. Path: Document Root: • The location of a file or a program specified by the web server. • It is case-insensitive. Example: • Perl, CGI, JSP, PHP, etc. • It is a directory where resources are stored. • The path of a resource is calculated relative to this document root. • It varies from one web server to another.
  • 24. Example: • Apache Web Server, the document root is set to /var/www/html • Microsoft’s IIS (Internet Information Server) uses c:Inetpubwww as default document root. Principle: • May be case-sensitive for servers that typically run on the Window environment.
  • 25. Params: • It contains a parameter to be passed to web applications such as PHP, JSP, etc. • The path and parameter are separated by ? character. • It consists of a (name = value) pair separated by an (&). • Example: • login=gdkf & id=543543 & page=inbox • It specifies three parameters: • Names - login, id and page • Values - “gdkf”, “543543” , “inbox”
  • 26. Anchor: • It specifies location in the web page. • Example: • Location is created using <a> tag. • <a name=“appendix”>Appendix</a> • Referred: • http://www.it.jusl.ac.in/httphelp.html#appendix
  • 27. URLExamples: Protocol Host Port Path Anchor Params http:// www.google.com http:// www.it.just.ac.in: 8080/ history.html http:// www.it.just.ac.in: 8081/ history.html http:// www.it.just.ac.in: location,html# how to http:// www.it.just.ac.in: 8080/ Report.jsp? type=name