Skip to content
HTTP & Web Basics
-
HTTP & Web Basics
HTTP Status Codes and Redirects, Tested with curl
HTTP lecture 2: a php -S router for 2xx-5xx, POST under 301/302/303 vs 307/308 with curl -L, 404 vs 410, a crash sent as 200, redirect costs.
-
HTTP & Web Basics
HTTP Performance: Keep-Alive, gzip, HTTP/2 and CORS
Keep-alive vs new connections, gzip levels and HTTP/1.1 vs HTTP/2 measured with curl, Python and php -S, plus a CORS preflight showing what the server sees.
-
HTTP & Web Basics
HTTPS and TLS Certificates with openssl and curl
TLS handshake, certificate chain, SNI and HSTS from real openssl s_client and curl output, handshake time measured, and every curl exit 60 error reproduced.
-
HTTP & Web Basics
HTTP Headers, Cookies and Sessions with curl and PHP
HTTP lecture 3: mojibake shown byte by byte, Set-Cookie attributes in a curl cookie jar, a silently dropped Secure cookie, PHP sessions and fixation.
-
HTTP & Web Basics
HTTP Caching: ETag, Cache-Control and 304, Measured
Cache-Control, ETag and Last-Modified on a php -S server you can copy: 304s measured, an ETag that never matches, and a stale 304 within one second.
-
HTTP & Web Basics
HTTP Basics: Read Every Line of curl -v
HTTP lecture 1, run for real: a local python http.server, curl -v read line by line, methods, status codes, headers, curl exit codes and request timing.
↑