Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: WWW::Mechanize doesn't respect <base>?

by haj (Vicar)
on May 04, 2021 at 11:23 UTC ( [id://11132018]=note: print w/replies, xml ) Need Help??


in reply to Re: WWW::Mechanize doesn't respect <base>?
in thread WWW::Mechanize doesn't respect <base>?

What you are showing here is just resolution of relative URLs. Section 5.2 of RFC 3986 has the gory details. The only difference is the fourth example, where the result should be http://domain.com/page2. Note that a trailing slash is significant in an URL - but whether there's more stuff after the rightmost slash is not. for the URL's purpose as a base URL.

Could you please show what you are expecting?

  • Comment on Re^2: WWW::Mechanize doesn't respect <base>?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-20 14:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found