in reply to can LWP::UserAgent follow links?

Hi,

LWP::UserAgent is not like "bin/curl", its more like libcurl, does that explain the difference?

Replies are listed 'Best First'.
Re^2: can LWP::UserAgent follow links?
by Todd Chester (Scribe) on Jul 29, 2017 at 02:08 UTC
    Perl6's libcurl has this:
    my $curl = LibCurl::Easy.new(:verbose, :followlocation, URL => 'http://example.com'); $curl.setopt(:verbose, followlocation => 1);


    I was wanting a way to do `followlocation` with p5's LWP::UserAgent

      FWIW

      redirect/location (HTTP) is not the same as a link (html)