Acts As Teapot - Rails plugin
No, it’s not April Fools yet but we thought we’d get in early this year. Acts As Teapot is a Ruby on Rails plugin that ensures your Ruby on Rails applications conform to RFC2324. Our assumption here is that your application is not a coffee pot and does not understand the Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0). Thus, if ever a BREW request or any other request with the Content-Type set to “application/coffee-pot-command” is received, the server will respond with 418 I’m a teapot.
Comments
You might want a link: http://github.com/harukizaemon/acts_as_teapot
Thanks Haruki!
Post a comment