{
    "content": [
        {
            "type": "text",
            "text": "# LWP::Protocol::https (perldoc)\n\n## NAME\n\nLWP::Protocol::https - Provide https support for LWP::UserAgent\n\n## SYNOPSIS\n\nuse LWP::UserAgent;\n$ua = LWP::UserAgent->new(sslopts => { verifyhostname => 1 });\n$res = $ua->get(\"https://www.example.com\");\n# specify a CA path\n$ua = LWP::UserAgent->new(\nsslopts => {\nSSLcapath     => '/etc/ssl/certs',\nverifyhostname => 1,\n}\n);\n\n## DESCRIPTION\n\nThe LWP::Protocol::https module provides support for using https schemed URLs with LWP. This\nmodule is a plug-in to the LWP protocol handling, so you don't use it directly. Once the module\nis installed LWP is able to access sites using HTTP over SSL/TLS.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "LWP::Protocol::https",
        "section": "",
        "mode": "perldoc",
        "summary": "LWP::Protocol::https - Provide https support for LWP::UserAgent",
        "synopsis": "use LWP::UserAgent;\n$ua = LWP::UserAgent->new(sslopts => { verifyhostname => 1 });\n$res = $ua->get(\"https://www.example.com\");\n# specify a CA path\n$ua = LWP::UserAgent->new(\nsslopts => {\nSSLcapath     => '/etc/ssl/certs',\nverifyhostname => 1,\n}\n);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 8,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "LWP::Protocol::https - Provide https support for LWP::UserAgent\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use LWP::UserAgent;\n\n$ua = LWP::UserAgent->new(sslopts => { verifyhostname => 1 });\n$res = $ua->get(\"https://www.example.com\");\n\n# specify a CA path\n$ua = LWP::UserAgent->new(\nsslopts => {\nSSLcapath     => '/etc/ssl/certs',\nverifyhostname => 1,\n}\n);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The LWP::Protocol::https module provides support for using https schemed URLs with LWP. This\nmodule is a plug-in to the LWP protocol handling, so you don't use it directly. Once the module\nis installed LWP is able to access sites using HTTP over SSL/TLS.\n\nIf hostname verification is requested by LWP::UserAgent's \"sslopts\", and neither \"SSLcafile\"\nnor \"SSLcapath\" is set, then \"SSLcafile\" is implied to be the one provided by Mozilla::CA.\nIf the Mozilla::CA module isn't available SSL requests will fail. Either install this module,\nset up an alternative \"SSLcafile\" or disable hostname verification.\n\nThis module used to be bundled with the libwww-perl, but it was unbundled in v6.02 in order to\nbe able to declare its dependencies properly for the CPAN tool-chain. Applications that need\nhttps support can just declare their dependency on LWP::Protocol::https and will no longer need\nto know what underlying modules to install.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "IO::Socket::SSL, Crypt::SSLeay, Mozilla::CA\n\nCOPYRIGHT & LICENSE\nCopyright (c) 1997-2011 Gisle Aas.\n\nThis library is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
                "subsections": []
            }
        }
    }
}