about summary refs log tree commit homepage
path: root/lib/mongrel
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mongrel')
-rw-r--r--lib/mongrel/handlers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mongrel/handlers.rb b/lib/mongrel/handlers.rb
index 646311c..05f585c 100644
--- a/lib/mongrel/handlers.rb
+++ b/lib/mongrel/handlers.rb
@@ -209,7 +209,7 @@ module Mongrel
         response.start(304) {}
       else
         # first we setup the headers and status then we do a very fast send on the socket directly
-        response.status = 200
+        response.status ||= 200
         header[Const::LAST_MODIFIED] = mtime.httpdate
 
         # set the mime type from our map based on the ending