Name
requests_redirectable
Synopsis
$ua
->requests_redirectable([\@requests
])
Assigns the list of request names that $ua->redirect_ok
will allow to be
redirected. With no arguments, returns the current list of
request names. By default, GET and HEAD requests are allowed; to
include POST requests, enter:
push @{ $ua->requests_redirectable }, 'POST';
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.