Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

RE: RE: RE: Get chatbox lines

by neshura (Chaplain)
on May 26, 2000 at 21:59 UTC ( #15049=note: print w/ replies, xml ) Need Help??


in reply to RE: RE: Get chatbox lines
in thread Get chatbox lines

I didn't put this in the constructor but that is where it should have gone. (quoth the non-expert)

$ua->proxy(['http'], 'http://web-proxy.cup.hp.com:8088/');

e-mail neshura


Comment on RE: RE: RE: Get chatbox lines
Download Code
Replies are listed 'Best First'.
RE: RE: RE: RE: Get chatbox lines
by Anonymous Monk on Jul 06, 2000 at 19:00 UTC
    I made a similar modification, but based it on LWP's support for proxies defined in environment variables.
    if ( defined $ENV{HTTP_proxy} ) { $ua->env_proxy(); }
    And then after the HTTP::Request gets initialized:
    my $proxy_user = $ENV{HTTP_proxy_user}; my $proxy_pass = $ENV{HTTP_proxy_pass}; if ( defined $proxy_user && defined $proxy_pass ) { $req->proxy_authorization_basic("$proxy_user", "$proxy_pass"); }
    Hope this helps! --Glenn

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (17)
As of 2015-07-29 20:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (268 votes), past polls