about summary refs log tree commit homepage
path: root/lib/unicorn/cgi_wrapper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unicorn/cgi_wrapper.rb')
-rw-r--r--lib/unicorn/cgi_wrapper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/cgi_wrapper.rb b/lib/unicorn/cgi_wrapper.rb
index 64848b4..729efee 100644
--- a/lib/unicorn/cgi_wrapper.rb
+++ b/lib/unicorn/cgi_wrapper.rb
@@ -59,7 +59,7 @@ class Unicorn::CGIWrapper < ::CGI
     @status = nil
     @head = {}
     @headv = Hash.new { |hash,key| hash[key] = [] }
-    @body = StringIO.new
+    @body = StringIO.new("")
     super(*args)
   end