diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-12 07:02:40 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-12 07:02:40 +0000 |
| commit | 0a27ea548add7cf4083808d52b3569c77649c968 (patch) | |
| tree | 6407a0b649f3691fec821d6fb9fdfc807a652ff3 | |
| parent | 11f670cdc2ea6a7afecf3e1190d458f7a3088898 (diff) | |
| download | ruby-0a27ea548add7cf4083808d52b3569c77649c968.tar.gz ruby-0a27ea548add7cf4083808d52b3569c77649c968.tar.xz ruby-0a27ea548add7cf4083808d52b3569c77649c968.zip | |
* lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): requires
webrick/cookie. [ ruby-Bugs-21139 ]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | lib/xmlrpc/client.rb | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Sat Jul 12 16:02:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): requires + webrick/cookie. [ ruby-Bugs-21139 ] + Sat Jul 12 09:25:07 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp> * test/win32ole/test_win32ole_event.rb: add test diff --git a/lib/xmlrpc/client.rb b/lib/xmlrpc/client.rb index 7cf2ed87a..278855e01 100644 --- a/lib/xmlrpc/client.rb +++ b/lib/xmlrpc/client.rb @@ -567,6 +567,7 @@ module XMLRPC set_cookies = resp.get_fields("Set-Cookie") if set_cookies and !set_cookies.empty? + require 'webrick/cookie' @cookie = set_cookies.collect do |set_cookie| cookie = WEBrick::Cookie.parse_set_cookie(set_cookie) WEBrick::Cookie.new(cookie.name, cookie.value).to_s |
