From e0ad4353f0c0f8ae27301df3e694384f687a4264 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 20 Jan 2011 02:16:04 -0800 Subject: remove unused 416 error constants/exceptions We handle that locally in rainbows/response now --- lib/rainbows/error.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/rainbows/error.rb') diff --git a/lib/rainbows/error.rb b/lib/rainbows/error.rb index fa6da61..98de6ba 100644 --- a/lib/rainbows/error.rb +++ b/lib/rainbows/error.rb @@ -35,8 +35,6 @@ module Rainbows::Error when EOFError, Errno::ECONNRESET, Errno::EPIPE, Errno::EINVAL, Errno::EBADF, Errno::ENOTCONN # swallow error if client shuts down one end or disconnects - when Rainbows::Response416 - Rainbows::Const::ERROR_416_RESPONSE when Unicorn::HttpParserError Rainbows::Const::ERROR_400_RESPONSE # try to tell the client they're bad when IOError # HttpParserError is an IOError -- cgit v1.2.3-24-ge0c7