In-depth explanations of status code design, caching, CORS, authentication, redirects, and HTTP versions.
What the five status-code classes (1xx-5xx) mean, how to read a status line, and the quick rules you use to debug with them.
Read moreWhen to use 200/201/204, 400/401/403/404/409/422/429, and 500/503, plus consistency and idempotency-key design.
Read moreCache-Control, ETag/If-None-Match, Last-Modified/If-Modified-Since, 304, CDN vs browser caches, cache busting, and Vary.
Read moreSame-origin policy, simple vs preflighted requests, the OPTIONS preflight, Access-Control-* headers, credentials, and the errors you'll actually hit.
Read moreBasic vs Bearer, WWW-Authenticate, 401 vs 403, tokens/JWT vs sessions/cookies, and why HTTPS is non-negotiable.
Read more301 vs 302 vs 303 vs 307 vs 308, method/body preservation, SEO and link equity, redirect chains and loops, and the Location header.
Read moreSafe vs idempotent methods, why they govern retries, idempotency keys, and how to design PATCH and DELETE safely.
Read morekeep-alive, head-of-line blocking, multiplexing, and QUIC/UDP — what changed across HTTP versions and how it affects you in practice.
Read moreHow Set-Cookie/Cookie keep state, the cookie attributes (HttpOnly/Secure/SameSite/Domain/Path/Max-Age), session vs token auth, CSRF, size limits, and third-party cookie deprecation.
Read moreHow Accept / Accept-Language / Accept-Encoding and q-values pick a representation, server-driven vs agent-driven negotiation, the Vary header for caching, and the 406 response.
Read moregzip vs Brotli vs deflate vs zstd, the Accept-Encoding/Content-Encoding negotiation, what and when to compress, the BREACH/CRIME risks, and Content-Encoding vs Transfer-Encoding.
Read more429 and Retry-After, the RateLimit-* headers, token-bucket / sliding-window / fixed-window algorithms, client backoff with jitter, and per-user vs per-IP limits.
Read moretext/event-stream and EventSource, the event/data/id/retry fields, automatic reconnection, SSE vs WebSocket vs long-polling, and chunked transfer.
Read moreStrong vs weak ETags, If-None-Match/If-Match, Last-Modified/If-Modified-Since, 304 and 412, and using optimistic concurrency to prevent the lost-update problem.
Read moreThe Range/Content-Range/Accept-Ranges headers, 206 and 416, resumable downloads, If-Range, multipart/byteranges, and how video streaming uses them.
Read moreResource naming, versioning strategies, cursor vs offset pagination, filtering/sorting, the RFC 9457 problem+json error format, and HATEOAS basics.
Read moreWhat TLS guarantees, the handshake (ClientHello→certificate→key exchange), TLS 1.2 vs 1.3, certificates and CAs, SNI, ALPN, cipher suites, and mixed content.
Read moreBinary framing, streams and multiplexing, HPACK header compression, the deprecated server push, prioritization and flow control, h2c, and the TCP head-of-line blocking limit.
Read moreQUIC over UDP, 0-RTT/1-RTT handshakes, per-stream loss recovery (no TCP HoL), connection migration, QPACK, Alt-Svc discovery, and the deployment reality.
Read moreThe HTTP Upgrade handshake (101), Sec-WebSocket-Key/Accept, frames, ws:// vs wss://, WebSocket vs SSE vs long-polling, subprotocols, and scaling.
Read moreThe TCP connection lifecycle, keep-alive/persistent connections, connection pooling, the HTTP/1.1 pipelining trap, the Connection header, timeouts, and when connections get reused.
Read morepreconnect, dns-prefetch, preload, prefetch, modulepreload, prerender, the Link header vs <link>, priority, and 103 Early Hints.
Read moreThe Content-Length vs Transfer-Encoding ambiguity, CL.TE/TE.CL/TE.TE variants, front-end/back-end desync, impact, and defenses (normalize, end-to-end HTTP/2, reject ambiguous).
Read moreServer-to-server HTTP callbacks for event delivery: HMAC signing and verification, retries and idempotency, ordering, 2xx-to-ack, replay protection, and debugging.
Read moreURI path (/v1) vs header (Accept, custom) vs query param, when to bump, announcing deprecation with Deprecation/Sunset headers, backward compatibility, and media-type versioning.
Read moreoffset/limit vs cursor/keyset, page metadata, the Link header (rel=next/prev/first/last, RFC 8288), the cost of deep offsets, stable ordering, and total counts.
Read moreThe /.well-known/ convention (RFC 8615) and the key paths: security.txt, change-password, openid-configuration, acme-challenge, apple-app-site-association, assetlinks.json, ai.txt/llms.txt.
Read moreThe components scheme, authority (userinfo/host/port), path, query, and fragment; percent-encoding; reserved vs unreserved characters; IDN/punycode; relative vs absolute; and normalization.
Read moreSingle-endpoint POST, query/variables/operationName, using GET for queries, application/graphql-response+json, the '200 with errors' convention, caching challenges, and batching.
Read moreBuilding a policy, nonces vs hashes vs strict-dynamic, a report-only rollout, common breakages, reporting endpoints, the default-src fallback, frame-ancestors, and upgrade-insecure-requests.
Read more