SlideShare a Scribd company logo
Basics of HTTP
All you need to know(for now)
1
A little bit of History first
‱ Problems before HTTP
‱ What is HTTP?
‱ How HTTP solved the problem?
2
TCP/IP model
3
https://what-when-how.com/data-communications-and-networking/network-models-data-
communications-and-networking/
Pillars of HTTP
‱ Path
‱ Methods
‱ Status Codes
‱ Headers
4
Client-Server workflow
‱ Open a TCP connection
‱ Send HTTP request
5
https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview
Client-Server workflow(cont.)
‱ Read the response sent by the server
‱ Close or reuse the connection for further requests
6
https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview
HTTP workflow
7
https://rmohan.com/?p=1488
Bad practice
HTTP connection management
8
https://developer.mozilla.org/en-US/docs/Web/HTTP/Connection_management_in_HTTP_1.x
HTTP status codes
9
HTTP methods
10
https://www.quora.com/What-are-HTTP-methods-and-what-are-they-used-for
HTTP headers
‱ End-to-end headers
‱ These headers must be transmitted to the final
recipient of the message
‱ Hop-by-hop headers
‱ These headers are meaningful only for a single
transport-level connection, and must not be
retransmitted by proxies or cached.
11
A few headers
Authentication
‱ WWW-Authenticate
‱ Authorization
‱ Proxy-Authenticate
‱ Proxy-Authorization
12
HTTP response caching
13
https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching
A few headers(cont.)
Caching
‱ Age
‱ Cache-Control(Pragma for HTTP/1.0)
‱ Clear-Site-Data
‱ Expires
14
A few headers(cont.)
Conditionals
‱ ETag
‱ Last-Modified
‱ If-Match
‱ If-Modified-Since
‱ Vary
15
A few headers(cont.)
Connection management
‱ Connection
‱ Keep-Alive(args = {timeout, max})
Content Negotiation
‱ Accept: <MIME_type>/<MIME_subtype>
‱ Accept-{Charset, Encoding, Language}
16
A few headers(cont.)
Cookies
‱ Cookie: <cookie-list>
‱ Set-Cookie: <cookie-name>=<cookie-value>
17
https://medium.com/@piraveenaparalogarajah/sessions-and-cookies-
2c0919552f29
A few headers(cont.)
CORS
‱ Access-Control-Allow-Origin
‱ Access-Control-Allow-Credentials
‱ Access-Control-Allow-Methods
‱ Access-Control-Allow-Headers
Security
‱ Content-Security-Policy
‱ Expect-CT
‱ Strict-Transport-Security (HSTS)
18
A few headers(cont.)
Others
‱ Do Not Track
‱ Download
‱ Ranged Request
‱ Redirects, etc
19
Why HTTP
‱ HTTP is simple
‱ HTTP is extensible
‱ HTTP is stateless, but not sessionless
‱ HTTP is connection efficient
20
Finally HTTPS
21
https://www.copahost.com/blog/http-vs-https/
Thank You
22

More Related Content

PPTX
Hypertext Transfer Protocol
PPTX
Data enrichment
PPTX
M2M systems layers and designs standardizations
PPTX
Application layer protocols
DOC
Report on online chatting
PPT
Introduction to Basic Concepts in Web
PPTX
Http
PPTX
IP Addressing & subnetting strategy
Hypertext Transfer Protocol
Data enrichment
M2M systems layers and designs standardizations
Application layer protocols
Report on online chatting
Introduction to Basic Concepts in Web
Http
IP Addressing & subnetting strategy

What's hot (20)

PPTX
TCP/IP and UDP protocols
ODP
Https presentation
PPTX
Understanding TCP/IP
PPTX
Osi model
PPTX
TCP/IP Presentation lab encapsulation and de-capsulation Nick Raston 2143803
PPTX
PPTX
HTTP Protocol Basic
PDF
PPT
TCP/ IP
PPTX
Http Protocol
PPTX
client server protocol
PPT
Internetworking basics
PPT
HTTP Basics
PPTX
HTTP request and response
PDF
PPTX
Reference models in Networks: OSI & TCP/IP
PPT
Chapter 1 introduction to computer networks
PPTX
Tcp/ip model
PDF
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
PPT
Web Service Presentation
TCP/IP and UDP protocols
Https presentation
Understanding TCP/IP
Osi model
TCP/IP Presentation lab encapsulation and de-capsulation Nick Raston 2143803
HTTP Protocol Basic
TCP/ IP
Http Protocol
client server protocol
Internetworking basics
HTTP Basics
HTTP request and response
Reference models in Networks: OSI & TCP/IP
Chapter 1 introduction to computer networks
Tcp/ip model
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Web Service Presentation
Ad

Similar to Basics of HTTP - Nafis Fuad (20)

PPTX
JDKIO: Java EE 8 what Servlet 4 and HTTP2 mean to you
PPTX
Java EE 8: What Servlet 4.0 and HTTP2 mean to you
PPTX
Java EE 8: What Servlet 4 and HTTP2 Mean
PPTX
Java EE 8: What Servlet 4.0 and HTTP/2 mean to you
PPTX
Web-01-HTTP.pptx
PPTX
Introduction to HTTP/2
PPT
Juglouvain http revisited
PDF
Hypertexttransferprotocolhttp 131012171813-phpapp02
PPTX
HyperText Transfer Protocol (HTTP)
PPT
Slide 2- HTTP and Web Application.ppt xstk
PPTX
Boost Your Content Strategy for REST APIs with Gururaj BS
PPT
computer networking
PDF
Using Communication and Messaging API in the HTML5 World
PDF
Revisiting HTTP/2
 
PDF
HTTP - The Protocol of Our Lives
PPTX
application of http.pptx
PPTX
HTTP Request Smuggling
PDF
Http smuggling 1 200523064027
PDF
Http2 in practice
JDKIO: Java EE 8 what Servlet 4 and HTTP2 mean to you
Java EE 8: What Servlet 4.0 and HTTP2 mean to you
Java EE 8: What Servlet 4 and HTTP2 Mean
Java EE 8: What Servlet 4.0 and HTTP/2 mean to you
Web-01-HTTP.pptx
Introduction to HTTP/2
Juglouvain http revisited
Hypertexttransferprotocolhttp 131012171813-phpapp02
HyperText Transfer Protocol (HTTP)
Slide 2- HTTP and Web Application.ppt xstk
Boost Your Content Strategy for REST APIs with Gururaj BS
computer networking
Using Communication and Messaging API in the HTML5 World
Revisiting HTTP/2
 
HTTP - The Protocol of Our Lives
application of http.pptx
HTTP Request Smuggling
Http smuggling 1 200523064027
Http2 in practice
Ad

More from Cefalo (13)

PPTX
Code Smells and Refactoring - Satyajit Dey & Ashif Iqbal
 
PPTX
Overview of Cookies in HTTP - Miran al Mehrab
 
PPTX
Handshaking with HTTPS - Rafiul Islam
 
PPTX
Evolution of HTTP - Miran Al Mehrab
 
PPTX
Content Negotiation in HTTP - Ibnul Tahsin Bhuiyan
 
PPTX
Conditional Requests in HTTP - Nafis Fuad
 
PPTX
Software Design Principles and Best Practices - Satyajit Dey
 
PPTX
Tips to kick-start your Software Engineering Career - Ferdous Mahmud Shaon
 
PPTX
Rest API Authentication - Uttom Akash
 
PPTX
Overview of REST - Raihan Ullah
 
PPTX
Getting started with Test Driven Development - Ferdous Mahmud Shaon
 
PPTX
Brief of Caching - Rafiul Islam
 
PPTX
Cross Origin Resource Sharing (CORS) - Azizul Hakim
 
Code Smells and Refactoring - Satyajit Dey & Ashif Iqbal
 
Overview of Cookies in HTTP - Miran al Mehrab
 
Handshaking with HTTPS - Rafiul Islam
 
Evolution of HTTP - Miran Al Mehrab
 
Content Negotiation in HTTP - Ibnul Tahsin Bhuiyan
 
Conditional Requests in HTTP - Nafis Fuad
 
Software Design Principles and Best Practices - Satyajit Dey
 
Tips to kick-start your Software Engineering Career - Ferdous Mahmud Shaon
 
Rest API Authentication - Uttom Akash
 
Overview of REST - Raihan Ullah
 
Getting started with Test Driven Development - Ferdous Mahmud Shaon
 
Brief of Caching - Rafiul Islam
 
Cross Origin Resource Sharing (CORS) - Azizul Hakim
 

Recently uploaded (20)

PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Nekopoi APK 2025 free lastest update
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
AI in Product Development-omnex systems
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
System and Network Administration Chapter 2
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
ai tools demonstartion for schools and inter college
PPTX
Transform Your Business with a Software ERP System
PDF
System and Network Administraation Chapter 3
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
ISO 45001 Occupational Health and Safety Management System
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Wondershare Filmora 15 Crack With Activation Key [2025
Nekopoi APK 2025 free lastest update
2025 Textile ERP Trends: SAP, Odoo & Oracle
AI in Product Development-omnex systems
Upgrade and Innovation Strategies for SAP ERP Customers
PTS Company Brochure 2025 (1).pdf.......
System and Network Administration Chapter 2
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Design an Analysis of Algorithms I-SECS-1021-03
ai tools demonstartion for schools and inter college
Transform Your Business with a Software ERP System
System and Network Administraation Chapter 3
Understanding Forklifts - TECH EHS Solution
ISO 45001 Occupational Health and Safety Management System
CHAPTER 2 - PM Management and IT Context
Navsoft: AI-Powered Business Solutions & Custom Software Development
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Odoo Companies in India – Driving Business Transformation.pdf
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...

Basics of HTTP - Nafis Fuad