HTTP is a protocol for transferring web pages, text, media, binary files and much more. It stands for hyper text transfer protocol and It is what the Internet pretty much runs on. In this video we will learn how HTTP works, how it is secured with HTTPS, will also show how to spin up an Http web server, and we will also go through the evolution of HTTP starting from HTTP 1.0 to HTTP 1.1 to HTTP/2 and eventually HTTP/3 which is still experimental.
Client / server
Client makes HTTP requests to a server that supports HTTP, the server (web server, http server like apache tomcat, nodejs etc..) responds back with the content. This could be an HTML page, images, JSON and much more.
Slides
https://payhip.com/b/uSEkQ
(Members get all slides for free. Become a Member to support the channel)
https://www.youtube.com/channel/UC_ML5xP23TOWKUcc-oAE_Eg/join
Jump Codes (Table of Content)
0:00 Intro
4:00 Client/Server Architecture
6:30 HTTP Request
9:30 HTTP Response
12:00 Demo Request/Response, Build Web Server
20:20 How HTTP Works?
26:20 HTTPS
27:35 HTTP 1.0
31:15 HTTP 1.1
36:55 HTTP/2
41:20 HTTP/3
HTTP anatomy
Request (browser, web app)
- URL
- Method type
- Headers
- Body
Response (web server)
- Status code
- Headers
- Body
HTTP 1.0 over tcp
- Application Layer 7
- new connection with each request.
HTTP 1.1 over tcp
- Persisted connection
HTTP/2 over tcp
- Compression
- Multiplexing
- Server Push
- SPDY
- Mostly secure by default
- Negotiates protocol during TLS (NPN/ALPN)
HTTP/2 over QUIC ( HTTP/3)
- Replaces TCP with QUIC (udp with congestion control)
🏭 Software Architecture Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQXNP6mQchJVP3S-3oKGEuw9
💾 Database Engineering Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQXjD0HOzN7P2tgzu7scWpl2
🛰 Network Engineering Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQUBSgBXilKhRMJ1ACqr7pTr
🏰 Load Balancing and Proxies Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQVMeBmWI2AhxULWEeo7AaMC
🐘 Postgres Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQWGrOqslniFlRcwxyY94cjj
🚢Docker
https://www.youtube.com/playlist?list=PLQnljOFTspQWsD-rakNw1C20c1JI8UR1r
🧮 Programming Pattern Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQV1emqxKbcP5esAf4zpqWpe
🛡 Web Security Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQU3YDMRSMvzflh_qXoz9zfv
🦠 HTTP Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQU6zO0drAYHFtkkyfNJw1IO
🐍 Python Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQU_M83ARz8mDdr4LThzkBKX
🔆 Javascript Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQWab0g3W6ZaDM6_Buh20EWM
👾Discord Server https://discord.gg/CsFbFce
Support me on PayPal
https://bit.ly/33ENps4
Become a Patreon
https://www.patreon.com/join/hnasr?
More Resources
https://apple.news/AyCa0Jn6bMSOEkGoWziuwRA
Stay Awesome!
Hussein