summary refs log tree commit
path: root/lib/rack/response.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rack/response.rb')
-rw-r--r--lib/rack/response.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rack/response.rb b/lib/rack/response.rb
index bd39da3b..12536710 100644
--- a/lib/rack/response.rb
+++ b/lib/rack/response.rb
@@ -129,6 +129,7 @@ module Rack
       def forbidden?;          status == 403;                        end
       def not_found?;          status == 404;                        end
       def method_not_allowed?; status == 405;                        end
+      def i_m_a_teapot?;       status == 418;                        end
       def unprocessable?;      status == 422;                        end
 
       def redirect?;           [301, 302, 303, 307].include? status; end