Displaying 1 result from an estimated 1 matches for "proxy_name".
Did you mean:
proc_name
2011 May 24
0
read_nonblock': end of file reached (EOF Error)
...t/http''
APPLICATION_ID = ''XIM4jgY6YIrOoB''
YAHOO_WEB_SERVICE_SEARCH_URL = ''http://search.yahooapis.com/
WebSearchService/V1/webSearch''
query = ''world cup 2011''
results_limit = 10
proxy_addr = ''MyProxy''
proxy_port = 80
proxy_name = "MyName"
proxy_pass = "MyPassword"
path = "?appid=#{APPLICATION_ID}&query=#{URI.encode(query)}
&results=#{results_limit}"
Net::HTTP::Proxy(proxy_addr, roxy_port, proxy_name,
proxy_pass ).start( YAHOO_WEB_SERVICE_SEARCH_URL ) do |http|
response = http.get(p...