Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: LWP different protocols

by ikegami (Pope)
on Oct 03, 2020 at 05:36 UTC ( #11122505=note: print w/replies, xml ) Need Help??


in reply to LWP different protocols

LWP::Protocol::https is used when LWP is provided a URL using the https scheme (e.g. https://www.perlmonks.org/).

LWP::Protocol::file is used when LWP is provided a URL using the file scheme (e.g. file:///C:/Users/ikegami/Desktop/doc.txt).

Replies are listed 'Best First'.
Re^2: LWP different protocols
by mordy7sh (Initiate) on Oct 03, 2020 at 10:18 UTC
    Hi, Thanks for replaying. The issue is that it happens during xml::xpath findallnodes. The xml document have a dtd. None oh those have specific url embedded. So I donít understand which url itís tiring to access or why my college use the file and mine tries to use the http. Can it be connected to some environment variable? I noticed mine have https_proxy and his environment does not. If you know the source for xml library that actually select which protocol to use. Again, thanks a lot for replaying. I know itís not that easy to read someone else problem... Mordy
      I donít understand which [URL] itís [trying] to access

      LWP::ConsoleLogger can tell you that.


      🦛

      If libxml2 is involved, note that it can consult external entities based on the XML Catalogues configured on the system.

      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

        Does XML::LibXML use LWP, though?

        By the way, you can instruct XML::LibXML not to perform any fetches.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2020-11-30 07:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?