{
    "content": [
        {
            "type": "text",
            "text": "# HTTP::Server::Simple::CGI::Environment (perldoc)\n\n**Summary:** HTTP::Server::Simple::CGI::Environment - a HTTP::Server::Simple mixin to provide the CGI protocol\n\n## Section Outline\n\n- **NAME** (3 lines)\n- **DESCRIPTION** (22 lines)\n\n## Full Content\n\n### NAME\n\nHTTP::Server::Simple::CGI::Environment - a HTTP::Server::Simple mixin to\nprovide the CGI protocol\n\n### DESCRIPTION\n\nThis mixin abstracts the CGI protocol out from HTTP::Server::Simple::CGI\nso that it's easier to provide your own CGI handlers with\nHTTP::Server::Simple which don't use CGI.pm\n\nsetupenvironment\n\"setupenvironemnt\" is usually called in the superclass's accepthook\n\nThis routine in this sub-class clears the environment to the start-up\nstate.\n\nsetupserverurl\nSets up the \"SERVERURL\" environment variable\n\nsetupenvironmentfrommetadata\nThis method sets up CGI environment variables based on various\nmeta-headers, like the protocol, remote host name, request path, etc.\n\nSee the docs in HTTP::Server::Simple for more detail.\n\nheader\n\"header\" turns a single HTTP headers into CGI environment variables.\n\n"
        }
    ],
    "structuredContent": {
        "command": "HTTP::Server::Simple::CGI::Environment",
        "section": "",
        "mode": "perldoc",
        "summary": "HTTP::Server::Simple::CGI::Environment - a HTTP::Server::Simple mixin to provide the CGI protocol",
        "synopsis": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 22,
                "subsections": []
            }
        ]
    }
}