Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: GET request using LWP::UserAgent returns 200 OK but Firefox 302 Found

by bliako (Monsignor)
on Mar 20, 2018 at 17:35 UTC ( #1211357=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ua->requests_redirectable([]);
    
  2. or download this
    $ua->requests_redirectable(['GET']);
    
  3. or download this
            my $referral_uri = $response->header('Location');
            {
    ...
                    = $HTTP::URI_CLASS->new($referral_uri, $base)->abs($ba
    +se);
            }
            $referral->uri($referral_uri);
    
  4. or download this
    base='http://server.com/ABC/afilename1?op=678'
    referral='../../ABC/XYZ/KLM/afilename2?aa=123'
    
  5. or download this
    http://server.com/../ABC/XYZ/KLM/afilename2?aa=123
    
  6. or download this
    http://server.com/ABC/XYZ/KLM/afilename2?aa=123
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1211357]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2022-12-05 23:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?