about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-02-09 09:12:09 +0000
committerEric Wong <e@80x24.org>2015-03-01 05:33:44 +0000
commit5fd3b3166a4ef9c0c5e4321c1b8b840840cbf24b (patch)
tree4aa37c2c1ee73f3cebd6540598e5da5a22d86aff
parent6aaa6f67e66e478fa039d01a91b89d6eaf881de5 (diff)
downloadunicorn-5fd3b3166a4ef9c0c5e4321c1b8b840840cbf24b.tar.gz
Rainbows! (in maintenance mode) will need to define it's own
constants in the future.  We'll trim down our constant usage in
subsequent commits as we take advantage of Ruby VM improvements.
-rw-r--r--lib/unicorn/const.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/unicorn/const.rb b/lib/unicorn/const.rb
index 26fa62b..e24b511 100644
--- a/lib/unicorn/const.rb
+++ b/lib/unicorn/const.rb
@@ -25,14 +25,6 @@ module Unicorn::Const
   MAX_BODY = 1024 * 112
 
   # :stopdoc:
-  # common errors we'll send back
-  # (N.B. these are not used by unicorn, but we won't drop them until
-  #  unicorn 5.x to avoid breaking Rainbows!).
-  ERROR_400_RESPONSE = "HTTP/1.1 400 Bad Request\r\n\r\n"
-  ERROR_414_RESPONSE = "HTTP/1.1 414 Request-URI Too Long\r\n\r\n"
-  ERROR_413_RESPONSE = "HTTP/1.1 413 Request Entity Too Large\r\n\r\n"
-  ERROR_500_RESPONSE = "HTTP/1.1 500 Internal Server Error\r\n\r\n"
-
   EXPECT_100_RESPONSE = "HTTP/1.1 100 Continue\r\n\r\n"
   EXPECT_100_RESPONSE_SUFFIXED = "100 Continue\r\n\r\nHTTP/1.1 "