exec_cgi: handle Status header in CGI response
commit6cca8e61c66c1c2a8ebe260813fa83e44530a768
authorEric Wong <normalperson@yhbt.net>
Fri, 21 Jan 2011 04:01:01 +0000 (21 04:01 +0000)
committerEric Wong <normalperson@yhbt.net>
Fri, 21 Jan 2011 08:23:23 +0000 (21 08:23 +0000)
treeaa03a017b387712118ac2f4c5065dcb636de4a4a
parentc4d77de381c40cf315e6f84791e3fb634bc10675
exec_cgi: handle Status header in CGI response

We no longer blindly return 200 if the CGI returned another error
code.  We also don't want two Status headers in our output since we
no longer filter it out.
lib/unicorn/app/exec_cgi.rb