Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: LWP::UserAgent proxy

by thomas895 (Hermit)
on Feb 28, 2014 at 07:31 UTC ( #1076480=note: print w/ replies, xml ) Need Help??


in reply to LWP::UserAgent proxy

I Assume user and pass refer to the proxy credentials, what does username and password refer to?
These refer to the basic authentication(as per RFC2617), not the proxy authentication. I assume that you prepend the auth credentials to the proxy URI as demonstrated in RFC2396 §3.2.2, though it is said to be "not recommended".

if my proxy were a hostname rather than a web address would I just insert http:// before the hostname, or use the IP address, or just the hostname?
Hostnames should be resolved to their corresponding addresses; see your network administrator and/or consult your operating system manuals to find out how to set this up. The docs do always make an indication of an initial http://
It sounds like you already have it set up, though, so http://proxy-hostname:port ought to be sufficient. Note that this does not work for anything besides HTTP proxies; SOCKS will not work.

~Thomas~ 
"Excuse me for butting in, but I'm interrupt-driven..."


Comment on Re: LWP::UserAgent proxy

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2014-07-28 23:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (210 votes), past polls