Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 ( [id://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?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-26 09:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found