Error 418 - I'm a teapot Slides
summary
Implements RFC 2324 (HTCPCP) as Rack middleware for Ruby, detecting the coffee:// scheme via env['rack.url_scheme'], unescaping multilingual names, and responding to BREW/POST requests by checking method and body content; uses Rails + Puma during testing, inspects logs (Rails shows 28 default middleware) and returns HTTP arrays like [status, headers, body] (405 for wrong method, 406 for unacceptable, 418 I'm a teapot for teapot requests). Software work completes; hardware coffee pot hookup remains unfinished.
AI-written summary · about
chapters (8)
- 0:00RFC 2324 and coffee humor
- 1:08Hypertext Coffee Pot Protocol
- 7:51HTTP versus CP squ
- 12:30Rack middleware in Ruby
- 18:30Request processing in Rack
- 20:12CP squ middleware in Rails
- 22:41CP squ error handling
- 24:05Summary
related talks
30mThe Power of Middleware - Building Your Own Mini Web Framework on Rack
37mRuby on Rack: The Magic Between Request and Response
21mHow to hijack, proxy and smuggle sockets with Rack/Ruby
28mIn a World of Middleware, Who Needs Monolithic Applications
36mRequest and Response
28mRack for web developers
52mResources, For Real This Time (with Webmachine)
41mRack - A Framework to Roll Your Own
