about summary refs log tree commit homepage
path: root/lib/mongrel/cgi.rb
diff options
context:
space:
mode:
authorfilipe <filipe@19e92222-5c0b-0410-8929-a290d50e31e9>2007-08-15 03:03:32 +0000
committerfilipe <filipe@19e92222-5c0b-0410-8929-a290d50e31e9>2007-08-15 03:03:32 +0000
commit16090717f2ea85e9e40ff59498f40c262de684e4 (patch)
tree8cd18d5edd6ca86597279044f2e17eaf43b63922 /lib/mongrel/cgi.rb
parent78d915289ddc407b672c8e615f1c4c337c445ec6 (diff)
downloadunicorn-16090717f2ea85e9e40ff59498f40c262de684e4.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@555 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'lib/mongrel/cgi.rb')
-rw-r--r--lib/mongrel/cgi.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mongrel/cgi.rb b/lib/mongrel/cgi.rb
index fa5c9c4..4173bde 100644
--- a/lib/mongrel/cgi.rb
+++ b/lib/mongrel/cgi.rb
@@ -109,10 +109,10 @@ module Mongrel
         end
         
         @head.delete('cookie')
-
-        # @output_cookies seems to never be used, but we'll process it just in case
-        @output_cookies.each {|c| to['Set-Cookie'] = c.to_s } if @output_cookies
       end
+      
+      # @output_cookies seems to never be used, but we'll process it just in case
+      @output_cookies.each {|c| to['Set-Cookie'] = c.to_s } if @output_cookies
     end
     
     # The dumb thing is people can call header or this or both and in any order.