CGI: search and set Status header in RFC 3875 compliant way.
Merge pull request #514 from comel/cgi-fix

CGI: search and set Status header in RFC 3875 compliant way.