Skip to navigation

I'm a little teapot

Published January 15, 2009

Like any good standards-based teapot toolmantim.com is now compliant with Section 2.3.2 of RFC2324: the Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0).

You too can be a good teapot citizen thanks to a ruby gem so fresh out of the oven it’ll burn your fingers: teapot — a new piece of innovative Rack middleware technology enabling you to do such feats as:


$ curl -i -X BREW toolmantim.com
HTTP/1.1 418 I'm a teapot
Date: Thu, 15 Jan 2009 13:31:30 GMT
Server: Apache
Vary: User-Agent
Content-Length: 36
Content-Type: text/plain; charset=UTF-8

Care for a cup of English Breakfast?

Alternative Ruby teapot implementations of RFC3224 include a patch to Rails by Chris Lloyd and the acts_as_teapot plugin by Simon Harris.

Those wanting a more short and stout implementation are advised to architect their own solutions. Frankly I think it’s much more polite to offer a cup of tea than waving your arms about like a flaming galah.

See the readme on github for installation instructions and teapot-enable your Rack application today!

Thoughts

toolmantim

I’m Tim Lucas, a user experience developer currently in Sydney Australia.

I occasionally write, snap photos, present on various technical topics, tweet my going-ons, share teh codes and post tidbits to the scrapbook.

Most recently I published Simplifying ticket sales on sydneyoperahouse.com (February 16, 2010)

Work with me via Agency Rainford, or shoot an email to and say hello.

Powered by vegemite