about summary refs log tree commit homepage
path: root/lib/mongrel/http_response.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mongrel/http_response.rb')
-rw-r--r--lib/mongrel/http_response.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mongrel/http_response.rb b/lib/mongrel/http_response.rb
index bda2ed3..811570b 100644
--- a/lib/mongrel/http_response.rb
+++ b/lib/mongrel/http_response.rb
@@ -87,7 +87,7 @@ module Mongrel
     def send_status(content_length=@body.length)
       if not @status_sent
         @header['Content-Length'] = content_length if content_length and @status != 304
-        write(Const::STATUS_FORMAT % [@status, @reason || HTTP_STATUS_CODES[@status]])
+        write(Const::STATUS_FORMAT % [@status, HTTP_STATUS_CODES[@status]])
         @status_sent = true
       end
     end