summaryrefslogtreecommitdiffstats
path: root/lib/soap
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-15 11:25:41 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-15 11:25:41 +0000
commitb83031262e19826d3e8997dd44781eb79ef55a0a (patch)
tree9840fa79e705a9b41e6b2c5433451b5a7d35b990 /lib/soap
parentf38121f2b43499ee5fe48b2b9688b526f1cc6b0d (diff)
downloadruby-b83031262e19826d3e8997dd44781eb79ef55a0a.tar.gz
ruby-b83031262e19826d3e8997dd44781eb79ef55a0a.tar.xz
ruby-b83031262e19826d3e8997dd44781eb79ef55a0a.zip
* lib/soap/netHttpClient.rb: use URI::HTTP#request_uri instead of
instance_eval('path_query'). [ruby-list:38575] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/soap')
-rw-r--r--lib/soap/netHttpClient.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/soap/netHttpClient.rb b/lib/soap/netHttpClient.rb
index 60fb146ec..facdcb727 100644
--- a/lib/soap/netHttpClient.rb
+++ b/lib/soap/netHttpClient.rb
@@ -68,7 +68,7 @@ class NetHttpClient
extra = header.dup
extra['User-Agent'] = @agent if @agent
res = start(url) { |http|
- http.post(url.instance_eval('path_query'), req_body, extra)
+ http.post(url.request_uri, req_body, extra)
}
Response.new(res)
end
@@ -78,7 +78,7 @@ class NetHttpClient
extra = header.dup
extra['User-Agent'] = @agent if @agent
res = start(url) { |http|
- http.get(url.instance_eval('path_query'), extra)
+ http.get(url.request_uri, extra)
}
res.body
end