{
    "content": [
        {
            "type": "text",
            "text": "# HTTP::Server::Simple::CGI::Environment (perldoc)\n\n## NAME\n\nHTTP::Server::Simple::CGI::Environment - a HTTP::Server::Simple mixin to provide the CGI protocol\n\n## DESCRIPTION\n\nThis mixin abstracts the CGI protocol out from HTTP::Server::Simple::CGI so that it's easier to\nprovide your own CGI handlers with HTTP::Server::Simple which don't use CGI.pm\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\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,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 20,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "HTTP::Server::Simple::CGI::Environment - a HTTP::Server::Simple mixin to provide the CGI\nprotocol\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This mixin abstracts the CGI protocol out from HTTP::Server::Simple::CGI so that it's easier to\nprovide your own CGI handlers with HTTP::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 state.\n\nsetupserverurl\nSets up the \"SERVERURL\" environment variable\n\nsetupenvironmentfrommetadata\nThis method sets up CGI environment variables based on various meta-headers, like the protocol,\nremote 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",
                "subsections": []
            }
        }
    }
}