This is open source under the MIT License. You can obtain the source code from GitHub.
CGI (Common Gateway Interface) environment parser.