Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: LWP::Useragent and globbing?

by noxxi (Pilgrim)
on Feb 02, 2019 at 17:54 UTC ( [id://1229294]=note: print w/replies, xml ) Need Help??


in reply to LWP::Useragent and globbing?

> What is the equivalent in LWP::UserAgent of globoff (-g)?

There is no equivalent. LWP is not interpreting the URL in some special way like curl does so it does not need to have some way to switch this special interpretation off. Your problem must be something different.
I rather suspect that the main difference is the use of -k in curl which disables the certificate validation. While you say that you are using an insecure connection with both you don't say how you are doing this with LWP so it might be done wrong there (verify_hostname => 0 might not be sufficient). Likely the certificate returned by the server does not match the URL (i.e. the IPv6 address in it) at all and using curl without -k will likely fail too.
To get more information I recommend to run your program with SSL debugging, i.e. perl -MIO::Socket::SSL=debug4 program.pl.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-20 03:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found