Rebuilding HTTP will take you through building an HTTP application server, step by step, starting from a plain TCP/IP server. You'll learn the basics of the HTTP protocol, as well as how to extend and debug it.
Each section centres on a small, practical update to your server -- first improving HTTP requests and responses, then header fields. Eventually you'll build an application server using Rack, Ruby's HTTP interface, and be able to run applications in real frameworks like Sinatra on the server you built.
Optional exercises at the end of each chapter let you learn more about less-used HTTP features. Answers are included.
By the author of Rebuilding Rails.
You'll get PDF and ePUB copies of the DRM-free ebook