зеркало из https://github.com/github/ruby.git
* lib/soap/netHttpClient.rb: use URI::HTTP#request_uri instead of
instance_eval('path_query'). [ruby-list:38575] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a23075a53e
Коммит
57292a2ab4
|
@ -1,3 +1,8 @@
|
|||
Wed Oct 15 20:22:31 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
|
||||
|
||||
* lib/soap/netHttpClient.rb: use URI::HTTP#request_uri instead of
|
||||
instance_eval('path_query'). [ruby-list:38575]
|
||||
|
||||
Wed Oct 15 17:24:45 2003 URABE Shyouhei <root@mput.dip.jp>
|
||||
|
||||
* lib/cgi.rb (CGI::Cookie): tiny typo fix.
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче