Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
How can I use hpricot with proxy and provide username info?
Cs Webgrl
11/7/2008 9:54:00 PM
Hi.
I am using hpricot, but I want to send this through a proxy server.
I've used mechanize through a proxy without a problem, but I don't need
it for this code.
Currently I have
doc = Hpricot(open(location, :proxy =>
'
http://www.proxyserver.com...
,
:http_basic_authentication => ['username,password']))
Any ideas why I'm get a 407 Proxy Authentication error and how to solve
it?
Thanks!
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
How can I use hpricot with proxy and provide username info?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password