SlideShare a Scribd company logo
1 of 26
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.
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.
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.
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.
Thank You

More Related Content

What's hot (20)

Http
HttpHttp
Http
 
Http
HttpHttp
Http
 
HTTP Basics
HTTP BasicsHTTP Basics
HTTP Basics
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
 
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
Hypertext transfer protocol and hypertext transfer protocol secure(HTTP and H...
 
HTTP request and response
HTTP request and responseHTTP request and response
HTTP request and response
 
File Transfer Protocol(FTP)
File Transfer Protocol(FTP)File Transfer Protocol(FTP)
File Transfer Protocol(FTP)
 
Http protocol
Http protocolHttp protocol
Http protocol
 
Hypertext Transfer Protocol
Hypertext Transfer ProtocolHypertext Transfer Protocol
Hypertext Transfer Protocol
 
Lec 7(HTTP Protocol)
Lec 7(HTTP Protocol)Lec 7(HTTP Protocol)
Lec 7(HTTP Protocol)
 
DHCP
DHCPDHCP
DHCP
 
HTTP Request Header and HTTP Status Code
HTTP Request Header and HTTP Status CodeHTTP Request Header and HTTP Status Code
HTTP Request Header and HTTP Status Code
 
DNS (Domain Name System)
DNS (Domain Name System)DNS (Domain Name System)
DNS (Domain Name System)
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
Icmp
IcmpIcmp
Icmp
 
HTTP
HTTPHTTP
HTTP
 
5. icmp
5. icmp5. icmp
5. icmp
 
Tcpip services and applications
Tcpip services and applicationsTcpip services and applications
Tcpip services and applications
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
Http
HttpHttp
Http
 

Similar to Http Introduction

Hypertex transfer protocol
Hypertex transfer protocolHypertex transfer protocol
Hypertex transfer protocolwanangwa234
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocolsFabMinds
 
Hypertexttransferprotocolhttp 131012171813-phpapp02
Hypertexttransferprotocolhttp 131012171813-phpapp02Hypertexttransferprotocolhttp 131012171813-phpapp02
Hypertexttransferprotocolhttp 131012171813-phpapp02Nidhitransport
 
HTTPProtocol HTTPProtocol.pptHTTPProtocol.ppt
HTTPProtocol HTTPProtocol.pptHTTPProtocol.pptHTTPProtocol HTTPProtocol.pptHTTPProtocol.ppt
HTTPProtocol HTTPProtocol.pptHTTPProtocol.pptVietAnhNguyen337355
 
Http request&response session 1 - by Vignesh.N
Http request&response session 1 - by Vignesh.NHttp request&response session 1 - by Vignesh.N
Http request&response session 1 - by Vignesh.NNavaneethan Naveen
 
internet programming and java notes 5th sem mca
internet programming and java notes 5th sem mcainternet programming and java notes 5th sem mca
internet programming and java notes 5th sem mcaRenu Thakur
 
11 - ftp & web.ppt
11 - ftp & web.ppt11 - ftp & web.ppt
11 - ftp & web.pptssuserf7cd2b
 
Web Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting StartedWeb Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting StartedPort80 Software
 
Web Server Technologies I: HTTP
Web Server Technologies I: HTTP Web Server Technologies I: HTTP
Web Server Technologies I: HTTP webhostingguy
 
Group20 Dynamic Networks
Group20 Dynamic NetworksGroup20 Dynamic Networks
Group20 Dynamic Networkshariprasadnr
 
Topic 2.4 network services
Topic 2.4 network servicesTopic 2.4 network services
Topic 2.4 network servicesAtika Zaimi
 

Similar to Http Introduction (20)

The HTTP and Web
The HTTP and Web The HTTP and Web
The HTTP and Web
 
Application layer
Application layerApplication layer
Application layer
 
http presentation 1.pptx
http presentation 1.pptxhttp presentation 1.pptx
http presentation 1.pptx
 
Hypertex transfer protocol
Hypertex transfer protocolHypertex transfer protocol
Hypertex transfer protocol
 
Compute rNetwork.pptx
Compute rNetwork.pptxCompute rNetwork.pptx
Compute rNetwork.pptx
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
 
Web & HTTP
Web & HTTPWeb & HTTP
Web & HTTP
 
Http_Protocol.pptx
Http_Protocol.pptxHttp_Protocol.pptx
Http_Protocol.pptx
 
Hypertexttransferprotocolhttp 131012171813-phpapp02
Hypertexttransferprotocolhttp 131012171813-phpapp02Hypertexttransferprotocolhttp 131012171813-phpapp02
Hypertexttransferprotocolhttp 131012171813-phpapp02
 
Lecture 6- http
Lecture  6- httpLecture  6- http
Lecture 6- http
 
HTTPProtocol HTTPProtocol.pptHTTPProtocol.ppt
HTTPProtocol HTTPProtocol.pptHTTPProtocol.pptHTTPProtocol HTTPProtocol.pptHTTPProtocol.ppt
HTTPProtocol HTTPProtocol.pptHTTPProtocol.ppt
 
web_01_HTTP.ppt
web_01_HTTP.pptweb_01_HTTP.ppt
web_01_HTTP.ppt
 
Http request&response session 1 - by Vignesh.N
Http request&response session 1 - by Vignesh.NHttp request&response session 1 - by Vignesh.N
Http request&response session 1 - by Vignesh.N
 
15 Application layer.pptx
15 Application layer.pptx15 Application layer.pptx
15 Application layer.pptx
 
internet programming and java notes 5th sem mca
internet programming and java notes 5th sem mcainternet programming and java notes 5th sem mca
internet programming and java notes 5th sem mca
 
11 - ftp & web.ppt
11 - ftp & web.ppt11 - ftp & web.ppt
11 - ftp & web.ppt
 
Web Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting StartedWeb Server Technologies I: HTTP & Getting Started
Web Server Technologies I: HTTP & Getting Started
 
Web Server Technologies I: HTTP
Web Server Technologies I: HTTP Web Server Technologies I: HTTP
Web Server Technologies I: HTTP
 
Group20 Dynamic Networks
Group20 Dynamic NetworksGroup20 Dynamic Networks
Group20 Dynamic Networks
 
Topic 2.4 network services
Topic 2.4 network servicesTopic 2.4 network services
Topic 2.4 network services
 

More from Akshay Dhole

Mechanical steering system
Mechanical steering systemMechanical steering system
Mechanical steering systemAkshay Dhole
 
Electronic controllers presentation
Electronic controllers presentationElectronic controllers presentation
Electronic controllers presentationAkshay Dhole
 
Rfid interfacing & controlling with 8051
Rfid interfacing & controlling with 8051Rfid interfacing & controlling with 8051
Rfid interfacing & controlling with 8051Akshay Dhole
 
Pspice Introduction
Pspice IntroductionPspice Introduction
Pspice IntroductionAkshay Dhole
 
PLC ARCHITECTURE AND HARDWARE COMPONENTS
PLC ARCHITECTURE AND HARDWARE COMPONENTSPLC ARCHITECTURE AND HARDWARE COMPONENTS
PLC ARCHITECTURE AND HARDWARE COMPONENTSAkshay Dhole
 
Machine vision in food & beverages
Machine vision in food & beveragesMachine vision in food & beverages
Machine vision in food & beveragesAkshay Dhole
 
Design of alarm using pir sensor for
Design of alarm using pir sensor forDesign of alarm using pir sensor for
Design of alarm using pir sensor forAkshay Dhole
 
Temperature controller of hot and cold reservoir
Temperature controller of hot and cold reservoirTemperature controller of hot and cold reservoir
Temperature controller of hot and cold reservoirAkshay Dhole
 
Counter propagation Network
Counter propagation NetworkCounter propagation Network
Counter propagation NetworkAkshay Dhole
 
Touch Screen Sensor presentation
Touch Screen Sensor presentationTouch Screen Sensor presentation
Touch Screen Sensor presentationAkshay Dhole
 

More from Akshay Dhole (11)

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

Recently uploaded

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxabhijeetpadhi001
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 

Recently uploaded (20)

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 

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.
  • 7.
  • 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.
  • 16.
  • 17.
  • 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.
  • 22.
  • 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.
  • 25.