Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]
Show
Ignore:
Timestamp:
07/15/07 14:41:45 (1 year ago)
Author:
nahi
Message:
  • use httpclient instead of http-access2. (works with http-access/2.0.9 as same as with httpclient/2.1.0)
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/sample/basic/yahooNewsSearch.rb

    r1843 r1885  
    1010end 
    1111 
    12 require 'http-access2
     12require 'httpclient
    1313appid = 'soap4r-dev' 
    1414url = 'http://api.search.yahoo.com/NewsSearchService/V1/newsSearch' 
     
    2626} 
    2727proxy = ENV['http_proxy'] || ENV['HTTP_PROXY'] 
    28 result = HTTPAccess2::Client.new(proxy).get_content(url, param) 
     28result = HTTPClient.new(proxy).get_content(url, param) 
    2929 
    3030opt = {:default_encodingstyle => 'urn:myxmlhandler'}