library · 8 topics
HTTP reference library
8 HTTP status codes and headers — what the RFC says, what implementations actually do.
HTTP 401 vs 403: which one to returnRFC 7235 §3.1 (401), RFC 7231 §6.5.3 (403)
HTTP 422 Unprocessable Entity (validation errors)RFC 4918 §11.2 (originally WebDAV)
HTTP 429 Too Many Requests (rate limiting)RFC 6585 §4 (429), RFC 7231 §7.1.3 (Retry-After)
HTTP 503 vs 504: capacity vs upstreamRFC 7231 §6.6.4 (503), §6.6.5 (504)
Cache-Control header explainedRFC 7234 §5.2 (Cache-Control)
Content-Security-Policy (CSP) headerW3C CSP3, RFC 7762 (header)
Strict-Transport-Security (HSTS) headerRFC 6797 (HSTS)
CORS headers explained (Access-Control-*)Fetch Standard (WHATWG), RFC 6454 (Origin)