about summary refs log tree commit homepage
path: root/lib/rainbows/ev_core.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-20 02:20:19 -0800
committerEric Wong <normalperson@yhbt.net>2011-01-20 02:20:19 -0800
commited33b9c0d060806b41e952a50e0ab65a0f5fe21a (patch)
treed21ffcdb875286e05bcd7ea66bd6c431d6892504 /lib/rainbows/ev_core.rb
parente0ad4353f0c0f8ae27301df3e694384f687a4264 (diff)
downloadrainbows-ed33b9c0d060806b41e952a50e0ab65a0f5fe21a.tar.gz
It's the only place we ever use it
Diffstat (limited to 'lib/rainbows/ev_core.rb')
-rw-r--r--lib/rainbows/ev_core.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rainbows/ev_core.rb b/lib/rainbows/ev_core.rb
index d958b18..d218553 100644
--- a/lib/rainbows/ev_core.rb
+++ b/lib/rainbows/ev_core.rb
@@ -115,8 +115,10 @@ module Rainbows::EvCore
       handle_error(e)
   end
 
+  ERROR_413_RESPONSE = "HTTP/1.1 413 Request Entity Too Large\r\n\r\n"
+
   def err_413(msg)
-    write(Rainbows::Const::ERROR_413_RESPONSE)
+    write(ERROR_413_RESPONSE)
     quit
     # zip back up the stack
     raise IOError, msg, []