Lesson 17 of 18
3. Client and Server

Sources

3 min read+10 XP

Source notes

  • HTTP methods, safety and idempotency, status codes (including 401, 403, 502, 503, 504): RFC 9110, HTTP Semantics. PATCH: RFC 5789. 429 Too Many Requests: RFC 6585.
  • HTTP/1.1 persistent connections: RFC 9112. HTTP/2 multiplexing: RFC 9113. HTTP/3: RFC 9114. QUIC: RFC 9000.
  • TLS 1.3 full handshake in one round trip: RFC 8446.
  • TCP three-way handshake: RFC 9293. UDP: RFC 768.
  • Cookies and the Set-Cookie attributes HttpOnly and Secure: RFC 6265. SameSite is defined in the cookie specification updates (RFC 6265bis drafts) and implemented by major browsers.
  • JSON Web Token: RFC 7519.
  • Round-trip numbers in Level 2 are assumptions; arithmetic computed 2026-10-05.
  • Level 3 and Level 4 code: tested 2026-10-05 (code/ch03_client_server.py, all checks pass).