about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorIan Ownbey <imownbey@ian-ownbeys-macbook.local>2008-12-01 00:50:24 -0500
committerIan Ownbey <imownbey@ian-ownbeys-macbook.local>2008-12-01 00:50:31 -0500
commitc178815ef6496d3d2dfe83b77a0332138a4ae1ee (patch)
tree391832539fb4299fff99faf4114b66a1f0b72938 /lib
parentb1dd32f73eb72d861810bd96305b85d082606c5b (diff)
downloadunicorn-c178815ef6496d3d2dfe83b77a0332138a4ae1ee.tar.gz
Diffstat (limited to 'lib')
-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