SlideShare a Scribd company logo
VIT, CHENNAI
SEMINAR TOPIC
“HTTP”
Presented by: Course Faculty:
Akshay Dhole(13MMT1013) Prof. Nitya Darisini
Introduction:
-Internet is a distributed- client/server information system.
-Many applications such as web browsing/surfing, email, file
transfer, audio and video streaming etc.
 From which http is the most
popular application protocol.
HTTP uses the TCP-IP services
port 80
HTTP:
-The Hypertext Transfer Protocol (HTTP) is a protocol
-Mainly used to access data on the World Wide Web.
-HTTP functions as a combination of FTP and SMTP.
 HTTP is an asymmetric request-response client-
server protocol.
 An HTTP client sends a request message to an HTTP
server. The server, in turn, returns a response message.
 HTTP is a stateless protocol. In other words, the current
request does not know what has been done in the
previous requests.
HTTP Conversation:
Browser:
Whenever you issue a URL from your browser
to get a web resource using HTTP,
e.g. http://www.test101.com/index.html, the
browser turns the URL into a request
message and sends it to the HTTP server.
The HTTP server interprets the request message,
and returns you an appropriate response message,
which is either the resource you requested or an
error message.
Http Introduction
URL:
A URL (Uniform Resource Locator) is used to uniquely
identify a resource over the web.
There are 4 parts in a URL:
1. Protocol: The application-level protocol used by the
client and server, e.g., HTTP, FTP, and telnet.
2. Hostname: The DNS domain
name (e.g., www.test101.com) or IP address (e.g., 192.128.1.2)
of the server.
3.Port: The TCP port number that the server is listening
for incoming requests from the clients.
4.Path-and-file-name: The name and location of the
requested resource, under the server document base directory.
HTTP Specifications:
The HTTP specification is maintained by W3C (World-wide Web
Consortium) and available at http://www.w3.org/standards/techs/http.
There are currently two versions of HTTP, namely, HTTP/1.0 and
HTTP/1.1. The original version, HTTP/0.9 (1991), written by Tim
Berners-Lee, is a simple protocol for transferring raw data across the
Internet.
HTTP/1.0 (1996) (defined in RFC 1945), improved the protocol by
allowing MIME-like messages.
HTTP/1.0 does not address the issues of proxies, caching, persistent
connection, virtual hosts, and range download. These features were
provided in HTTP/1.1 (1999) (defined in RFC 2616).
HTTP Protocol
Whenever you enter a URL in the address box of the browser, the
browser translates the URL into a request message according to the
specified protocol; and sends the request message to the server
When this request message reaches the server, the server can take
either one of these actions:
The server interprets the request received, maps the request into
a file under the server's document directory, and returns the file
requested to the client.
The server interprets the request received, maps the request into
a program kept in the server, executes the program, and returns
the output of the program to the client.
The request cannot be satisfied, the server returns an error message.
HTTP Transaction
Following fig. illustrates the HTTP transaction between the client
and server.
Message:
A request message consists of a request
line, a header, and sometimes a body. A response
message consists of a status line, a header, and
sometimes a body.
Request and status lines
The first line in a request message is called a request line. The
first line in the response message is called the status line.
HTTP request methods:
GET:
• Request a document from the server
Head:
• Request the information of the document but not the document
POST:
• Sends information from client to server
Put:
• Sends document from server to client
Trace :
• Echoes the incoming request
Connect:
• Reserved
Option:
• Inquires about available options.
Status codes
This field is used in the response message. The status code field is similar
to those in the FTP and the SMTP protocols. It consists of three digits.
The codes in the 100 range- informational,
The codes in the 200 range- successful request.
The codes in the 300 range- redirect the client to another URL
the codes in the 400 range- an error at the client site.
 the codes in the 500 range - an error at the server site.
Http Introduction
Http Introduction
Headers:
• The header exchanges additional information between the
client and the server. For example, the client can request that
the document be sent in a special format, or the server can send
extra information about the document.
• A header line belongs to one of four
categories: general header, request header,
response header, and entity header. A request
message can contain only general, request,
and entity headers.
• A response message, on the other hand, can
contain only general, response, and entity
headers.
General headers
• The general header gives general information about the
message and can be present in both a request and a response.
Request header
• The request header can be present only in a request
message. It specifies the client's configuration and the
client's preferred document format.
Http Introduction
Response headers
• The response header can be present only in a response
message. It specifies the server's configuration and special
information about the request.
Entity headers:
• The entity header gives information about
the body of the document. Although it is
mostly present in response messages, some
request messages, such as POST or PUT
methods, that contain a body also use this
type of header.
Http Introduction
Thank You

More Related Content

PPTX
Hypertext transfer protocol (http)
PPTX
HyperText Transfer Protocol (HTTP)
PPTX
Pgp pretty good privacy
PPTX
File Transfer Protocol
PPTX
Open shortest path first (ospf)
PPTX
History Of The Internet[1]
PPTX
Types of Computer Network
PPTX
Intrusion prevention system(ips)
Hypertext transfer protocol (http)
HyperText Transfer Protocol (HTTP)
Pgp pretty good privacy
File Transfer Protocol
Open shortest path first (ospf)
History Of The Internet[1]
Types of Computer Network
Intrusion prevention system(ips)

What's hot (20)

PPTX
HTTP Protocol Basic
PPTX
Http and its Applications
PPTX
Introduction to HTTP protocol
ODP
Https presentation
PPTX
Http Protocol
PPTX
Http-protocol
PPTX
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
PPTX
Web essentials clients, servers and communication – the internet – basic inte...
PPTX
PPT
HTTP Basics
PPTX
Hypertext Transfer Protocol
PPTX
HTTP request and response
PPTX
HTTP & WWW
PPSX
HTTP Presentation
PPTX
File transfer protocol
PPSX
Hypertext Transfer Protocol
PPT
Internet control message protocol
PPTX
Application layer protocols
PPT
Web Servers (ppt)
PDF
IT2255 Web Essentials - Unit I Website Basics
HTTP Protocol Basic
Http and its Applications
Introduction to HTTP protocol
Https presentation
Http Protocol
Http-protocol
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Web essentials clients, servers and communication – the internet – basic inte...
HTTP Basics
Hypertext Transfer Protocol
HTTP request and response
HTTP & WWW
HTTP Presentation
File transfer protocol
Hypertext Transfer Protocol
Internet control message protocol
Application layer protocols
Web Servers (ppt)
IT2255 Web Essentials - Unit I Website Basics
Ad

Similar to Http Introduction (20)

PPTX
HTTP Protocol.pptx network and security protocol
PPTX
The HTTP and Web
PPTX
Application layer
PPTX
http presentation 1.pptx
PPTX
Hypertex transfer protocol
PPTX
Compute rNetwork.pptx
PPTX
Web & HTTP
PPTX
Http_Protocol.pptx
PDF
Hypertexttransferprotocolhttp 131012171813-phpapp02
PPTX
Lecture 6- http
PPT
HTTPProtocol HTTPProtocol.pptHTTPProtocol.ppt
DOCX
Best Web Protocols Course in excellence technology
PPT
web_01_HTTP.ppt
PPT
Http request&response session 1 - by Vignesh.N
PPTX
15 Application layer.pptx
PPTX
Module 5.pptx HTTP protocol on optical and wireless communication
PPTX
Http protocol
DOCX
internet programming and java notes 5th sem mca
PPT
11 - ftp & web.ppt
PPT
Web Server Technologies I: HTTP
HTTP Protocol.pptx network and security protocol
The HTTP and Web
Application layer
http presentation 1.pptx
Hypertex transfer protocol
Compute rNetwork.pptx
Web & HTTP
Http_Protocol.pptx
Hypertexttransferprotocolhttp 131012171813-phpapp02
Lecture 6- http
HTTPProtocol HTTPProtocol.pptHTTPProtocol.ppt
Best Web Protocols Course in excellence technology
web_01_HTTP.ppt
Http request&response session 1 - by Vignesh.N
15 Application layer.pptx
Module 5.pptx HTTP protocol on optical and wireless communication
Http protocol
internet programming and java notes 5th sem mca
11 - ftp & web.ppt
Web Server Technologies I: HTTP
Ad

More from Akshay Dhole (11)

PPTX
Mechanical steering system
PPTX
Electronic controllers presentation
PPTX
Rfid interfacing & controlling with 8051
PPT
Pspice Introduction
PPTX
PLC ARCHITECTURE AND HARDWARE COMPONENTS
PPTX
Machine vision in food & beverages
PPTX
FIFA 15 Launch
PPTX
Design of alarm using pir sensor for
PPTX
Temperature controller of hot and cold reservoir
PPTX
Counter propagation Network
PPT
Touch Screen Sensor presentation
Mechanical steering system
Electronic controllers presentation
Rfid interfacing & controlling with 8051
Pspice Introduction
PLC ARCHITECTURE AND HARDWARE COMPONENTS
Machine vision in food & beverages
FIFA 15 Launch
Design of alarm using pir sensor for
Temperature controller of hot and cold reservoir
Counter propagation Network
Touch Screen Sensor presentation

Recently uploaded (20)

PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Classroom Observation Tools for Teachers
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Complications of Minimal Access Surgery at WLH
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Anesthesia in Laparoscopic Surgery in India
O5-L3 Freight Transport Ops (International) V1.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
STATICS OF THE RIGID BODIES Hibbelers.pdf
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Final Presentation General Medicine 03-08-2024.pptx
O7-L3 Supply Chain Operations - ICLT Program
Microbial diseases, their pathogenesis and prophylaxis
Microbial disease of the cardiovascular and lymphatic systems
Classroom Observation Tools for Teachers
human mycosis Human fungal infections are called human mycosis..pptx
Complications of Minimal Access Surgery at WLH
Abdominal Access Techniques with Prof. Dr. R K Mishra

Http Introduction

  • 1. VIT, CHENNAI SEMINAR TOPIC “HTTP” Presented by: Course Faculty: Akshay Dhole(13MMT1013) Prof. Nitya Darisini
  • 2. Introduction: -Internet is a distributed- client/server information system. -Many applications such as web browsing/surfing, email, file transfer, audio and video streaming etc.
  • 3.  From which http is the most popular application protocol. HTTP uses the TCP-IP services port 80
  • 4. HTTP: -The Hypertext Transfer Protocol (HTTP) is a protocol -Mainly used to access data on the World Wide Web. -HTTP functions as a combination of FTP and SMTP.  HTTP is an asymmetric request-response client- server protocol.  An HTTP client sends a request message to an HTTP server. The server, in turn, returns a response message.  HTTP is a stateless protocol. In other words, the current request does not know what has been done in the previous requests.
  • 6. Browser: Whenever you issue a URL from your browser to get a web resource using HTTP, e.g. http://www.test101.com/index.html, the browser turns the URL into a request message and sends it to the HTTP server. The HTTP server interprets the request message, and returns you an appropriate response message, which is either the resource you requested or an error message.
  • 8. URL: A URL (Uniform Resource Locator) is used to uniquely identify a resource over the web. There are 4 parts in a URL: 1. Protocol: The application-level protocol used by the client and server, e.g., HTTP, FTP, and telnet. 2. Hostname: The DNS domain name (e.g., www.test101.com) or IP address (e.g., 192.128.1.2) of the server. 3.Port: The TCP port number that the server is listening for incoming requests from the clients. 4.Path-and-file-name: The name and location of the requested resource, under the server document base directory.
  • 9. HTTP Specifications: The HTTP specification is maintained by W3C (World-wide Web Consortium) and available at http://www.w3.org/standards/techs/http. There are currently two versions of HTTP, namely, HTTP/1.0 and HTTP/1.1. The original version, HTTP/0.9 (1991), written by Tim Berners-Lee, is a simple protocol for transferring raw data across the Internet. HTTP/1.0 (1996) (defined in RFC 1945), improved the protocol by allowing MIME-like messages. HTTP/1.0 does not address the issues of proxies, caching, persistent connection, virtual hosts, and range download. These features were provided in HTTP/1.1 (1999) (defined in RFC 2616).
  • 10. HTTP Protocol Whenever you enter a URL in the address box of the browser, the browser translates the URL into a request message according to the specified protocol; and sends the request message to the server When this request message reaches the server, the server can take either one of these actions: The server interprets the request received, maps the request into a file under the server's document directory, and returns the file requested to the client. The server interprets the request received, maps the request into a program kept in the server, executes the program, and returns the output of the program to the client. The request cannot be satisfied, the server returns an error message.
  • 11. HTTP Transaction Following fig. illustrates the HTTP transaction between the client and server.
  • 12. Message: A request message consists of a request line, a header, and sometimes a body. A response message consists of a status line, a header, and sometimes a body.
  • 13. Request and status lines The first line in a request message is called a request line. The first line in the response message is called the status line.
  • 14. HTTP request methods: GET: • Request a document from the server Head: • Request the information of the document but not the document POST: • Sends information from client to server Put: • Sends document from server to client Trace : • Echoes the incoming request Connect: • Reserved Option: • Inquires about available options.
  • 15. Status codes This field is used in the response message. The status code field is similar to those in the FTP and the SMTP protocols. It consists of three digits. The codes in the 100 range- informational, The codes in the 200 range- successful request. The codes in the 300 range- redirect the client to another URL the codes in the 400 range- an error at the client site.  the codes in the 500 range - an error at the server site.
  • 18. Headers: • The header exchanges additional information between the client and the server. For example, the client can request that the document be sent in a special format, or the server can send extra information about the document.
  • 19. • A header line belongs to one of four categories: general header, request header, response header, and entity header. A request message can contain only general, request, and entity headers. • A response message, on the other hand, can contain only general, response, and entity headers.
  • 20. General headers • The general header gives general information about the message and can be present in both a request and a response.
  • 21. Request header • The request header can be present only in a request message. It specifies the client's configuration and the client's preferred document format.
  • 23. Response headers • The response header can be present only in a response message. It specifies the server's configuration and special information about the request.
  • 24. Entity headers: • The entity header gives information about the body of the document. Although it is mostly present in response messages, some request messages, such as POST or PUT methods, that contain a body also use this type of header.