Find HTTP headers in CGI environment

I hereby place this patch in the public domain,
releasing all copyright claims.