Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Changeset 1019

Show
Ignore:
Timestamp:
10/30/03 23:14:22 (5 years ago)
Author:
nahi
Message:

use URI::HTTP#request_uri instead of instance_eval('path_query').
[ruby-list:38575]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/soap/netHttpClient.rb

    r998 r1019  
    6969    extra['User-Agent'] = @agent if @agent 
    7070    res = start(url) { |http| 
    71         http.post(url.instance_eval('path_query'), req_body, extra) 
     71        http.post(url.request_uri, req_body, extra) 
    7272      } 
    7373    Response.new(res) 
     
    7979    extra['User-Agent'] = @agent if @agent 
    8080    res = start(url) { |http| 
    81         http.get(url.instance_eval('path_query'), extra) 
     81        http.get(url.request_uri, extra) 
    8282      } 
    8383    res.body