HTTP-Request-FromCurl

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.26 2021-10-14
    * Fix synopses to be more illustrative
    * Update bugtracker URLs

0.25 2020-10-14
    * Output more diagnostics on failure/suspect requests to find out
      what makes the test suite unhappy on Cygwin
    * No functionality changes, no need to upgrade

0.24 2020-10-13
    * Clean out HTTP_PROXY and other environment variables that prevent the
      test suite from running properly
    * No functionality changes, no need to upgrade

0.23 2020-10-11
    * Curl previous to 7.37.0 does not handle IPv6 hostnames well, skip that
      combination in tests
    * This is a really minor release to investigate/eliminate one CPAN tester
      failure
    * Test infrastructure now runs on Github Actions as well
    * No functionality changes, no need to upgrade

t/TestCurlIdentity.pm  view on Meta::CPAN

        };
    };
};

sub run_curl_tests( @tests ) {
    my $testcount = 0;

    # Clean out environment variables that might mess up
    # the HTTP connection to a local host
    local @ENV{qw(
        HTTP_PROXY
        http_proxy
        HTTP_PROXY_ALL
        http_proxy_all
        HTTPS_PROXY
        https_proxy
        CGI_HTTP_PROXY
        ALL_PROXY
        all_proxy
    )};

    for( @tests ) {
        my $request_count = $_->{request_count} || 1;
        $testcount +=   2
                      + ($request_count * 8);
    };
    plan tests => $testcount;

t/TestWgetIdentity.pm  view on Meta::CPAN

        };
    };
};

sub run_wget_tests( @tests ) {
    my $testcount = 0;

    # Clean out environment variables that might mess up
    # the HTTP connection to a local host
    local @ENV{qw(
        HTTP_PROXY
        http_proxy
        HTTP_PROXY_ALL
        http_proxy_all
        HTTPS_PROXY
        https_proxy
        CGI_HTTP_PROXY
        ALL_PROXY
        all_proxy
    )};

    for( @tests ) {
        my $request_count = $_->{request_count} || 1;
        $testcount +=   2
                      + ($request_count * 8);
    };
    plan tests => $testcount;



( run in 2.552 seconds using v1.01-cache-2.11-cpan-71847e10f99 )