apps::protocols::x509 - allow ignoring http redirects for X509 check (#4132)

Add --no-follow parameter to ignore http redirects
This commit is contained in:
Stefan Mayr 2023-01-09 09:39:29 +01:00 committed by GitHub
parent ed6bc4b482
commit d07cb0ce46
1 changed files with 5 additions and 0 deletions

View File

@ -48,6 +48,7 @@ sub new {
'method:s' => { name => 'method' }, 'method:s' => { name => 'method' },
'urlpath:s' => { name => 'url_path' }, 'urlpath:s' => { name => 'url_path' },
'timeout:s' => { name => 'timeout' }, 'timeout:s' => { name => 'timeout' },
'no-follow' => { name => 'no_follow' },
'header:s@' => { name => 'header' } 'header:s@' => { name => 'header' }
}); });
} }
@ -224,6 +225,10 @@ Threshold for HTTP timeout (Default: 5)
Set HTTP headers (Multiple option) Set HTTP headers (Multiple option)
=item B<--no-follow>
Do not follow http redirect
=back =back
=head1 DESCRIPTION =head1 DESCRIPTION