Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introduction to HTTP 1.1
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Zaki Shaheen
April 07, 2015
Programming
0
93
Introduction to HTTP 1.1
A brief introduction to HTTP for web and mobile developers.
Zaki Shaheen
April 07, 2015
Tweet
Share
More Decks by Zaki Shaheen
See All by Zaki Shaheen
Improving development workflow with GruntJS
zakishaheen
0
77
Introduction to VIM
zakishaheen
0
210
Introduction to Design Patterns
zakishaheen
0
160
Other Decks in Programming
See All in Programming
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
120
Package Management Learnings from Homebrew
mikemcquaid
0
170
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
Apache Iceberg V3 and migration to V3
tomtanaka
0
130
Fluid Templating in TYPO3 14
s2b
0
120
AI 駆動開発ライフサイクル(AI-DLC):ソフトウェアエンジニアリングの再構築 / AI-DLC Introduction
kanamasa
11
6.2k
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
440
GISエンジニアから見たLINKSデータ
nokonoko1203
0
200
.NET Conf 2025 の興味のあるセッ ションを復習した / dotnet conf 2025 quick recap for backend engineer
tomohisa
0
130
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
220
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.2k
Pythonではじめるオープンデータ分析〜書籍の紹介と書籍で紹介しきれなかった事例の紹介〜
welliving
3
860
Featured
See All Featured
From π to Pie charts
rasagy
0
120
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
76
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
150
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
110
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
810
New Earth Scene 8
popppiees
1
1.5k
A Tale of Four Properties
chriscoyier
162
24k
The Invisible Side of Design
smashingmag
302
51k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Visualization
eitanlees
150
17k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.8k
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
Transcript
Introduction to HTTP 1.1 By Zaki Shaheen
“There is no sense in being precise if you do
not know what you are talking about.” John von Neumann
Prerequisites Understanding of computer networks Understanding of OSI and TCP/IP
Model Understanding of network applications (client, server, connection, persistent/nonpersistent connection, etc.)
The OSI Layer Model (Charles Bachmann, Honeywell, 1983 - ISO
7498)
None
None
None
What is HTTP? HTTP = HyperText Transfer Protocol Application-level protocol
for distributed, collaborative hypermedia systems. Mother of All Demos (D. Englebart - 1968)
HyperText HyperText = Contains links to other Vennevar Bush, 1930-1945
- “As we may think” Ted Nelson, 1965
Foundational technology of the WorldWideWeb. Generic and stateless.
Can be used for almost any kind of information exchange in a distributed environment. Focus on “negotiation” to transfer any kind of data.
Brief History of HTTP v0.9 - 1991 v1.0 - 1996
(Tim Berners-Lee RFC1945) v1.1 - 1999 (The internet society - RFC2616) Other related things: URIs (RFC 5785)
2014 update to HTTP Message syntax and routing (RFC 7230)
Semantics and content (RFC 7231) Conditional Requests (RFC 7232) Range Requests (RFC 7233) Caching (RFC 7234) Authentication (RFC 7235) Authentication Registration (RFC 7236) ...
Skipping URIs but...
Remember... connection packet, frame, message, request, response resource, entity, representation
client, user agent, server
Pop Quiz How is a request transmitted from your browser
to the server and back?
None
None
HTTP message header entity | message Entity entity-header response-header general-header
entity-header request-header general-header Entity
Header fields general-header request-header | response-header entity-header message body can
be any content but must be specified what kind of content it is.
general-header cache-control connection date transfer-encoding (chunked?)
request-header Accept, Accept-charset, Accept-Encoding, Accept-Language, Authorization, Expect, From, Host, If-
Match, If-Modified-Since, User-Agent…
response-header accept-ranges, age, e-Tag, location (201, created), proxy-authentication, retry-after, server,
vary, www- authenticate...
entity-header
message
Pop-Quiz How many HTTP request methods?
8 methods GET POST OPTIONS HEAD PUT DELETE TRACE CONNECT
GET and HEAD Normal GET Partial GET (Range headers) Conditional
GET (If-Modified-Since) Head only returns the header, not the entity itself.
POST The POST method is used to request that the
origin server accept the entity enclosed in the request as a new subordinate of the resource identified by the Request-URI in the Request-Line.
PUT and DELETE Add or update. Client specifies the URI.
If new Entity is created - respond with 201. If existing entity is updated - respond with 200. Delete deletes the entity specified.
TRACE Reflect my message back to me!
Pop- Quiz: How many status messages?
41 Status codes Informational: 100-101 Successful: 200 - 206 Redirection:
300 - 307 Client error: 400 - 417 Server error: 500 - 505
100 - continue 101 - switching protocols 200 - OK
201 - Created 202 - Accepted 203 - non-authoritative information 204 - no content
205 - reset content 206 - partial content … 400
- bad request 401 - unauthorized 403 - forbidden 404 - not found
Advanced topics Authentication and authorisation Caching Advanced header fields
Resources Read the HTTP and related RFCs TutsPlus articles on
HTTP Read The Innovators for a beautiful history of computing.