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
Zaki Shaheen
April 07, 2015
Programming
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Introduction to HTTP 1.1
A brief introduction to HTTP for web and mobile developers.
Zaki Shaheen
April 07, 2015
More Decks by Zaki Shaheen
See All by Zaki Shaheen
Improving development workflow with GruntJS
zakishaheen
0
84
Introduction to VIM
zakishaheen
0
220
Introduction to Design Patterns
zakishaheen
0
170
Other Decks in Programming
See All in Programming
FDEが実現するAI駆動経営の現在地
gonta
2
280
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
180
PHP初心者セッション2026 〜生成AIでは見えない裏側を知る:今だからLAMPを通して仕組みを学ぶ〜
kashioka
0
910
関東Kaggler会_NVIDIA_Nemotron_コンペ_振り返り
rick_ds
0
550
Foundation Models frameworkで画像分析
ryodeveloper
1
610
What's New in Android 2026
veronikapj
0
260
メールのエイリアス機能を履き違えない
isshinfunada
0
230
夏だ!祭りだ!祭りとはドメインモデリングでは?
ryugen04
0
250
ITヒヤリハットを整理してみた ~ライフサイクルと原因から考える再発防止策~
koukimiura
1
140
実装をデザインガイドラインに追従させるための取り組み / 260731-dip-mosh-design-system
dachi023
0
440
Go 1.27 における memory allocation の高速化
andpad
0
160
Flow は今どうなっているか
mizdra
PRO
0
190
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.5k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
480
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Designing for Timeless Needs
cassininazir
1
440
Into the Great Unknown - MozCon
thekraken
41
2.7k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
3
430
How to make the Groovebox
asonas
2
2.3k
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.