~/talk

You, Too, Can Be A Webserver

Talkat RailsConf 2015 · 2015-04-21..04-23· [web-platform, security]
slides:none on file

Live command‑line experiments show how to speak HTTP directly: using netcat as a tiny webserver and typing raw HTTP/1.1 requests reveals headers, cookies set with a Set-Cookie header and how browsers send subsequent requests. Examples include manual HTML/CSS round trips, XHR with Access-Control-Allow-Origin for cross‑site JS, and why HTTP/2 pushes assets to avoid extra round trips. A saved file sent over netcat demonstrates binary responses and simple debugging.

AI-written summary · about

  1. 0:00Introduction
  2. 2:04Client-server with netcat
  3. 4:13Basic web server response
  4. 7:47Dynamic HTML with netcat
  5. 10:41Optimizing round trips
  6. 11:23HTTP cookies
  7. 13:10JavaScript and CORS
  8. 16:26HTTP/2 benefits
  9. 19:15Binary data with netcat
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.