mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): requires
webrick/cookie. [ ruby-Bugs-21139 ] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@18036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
71de0be7c6
commit
b20a588752
2 changed files with 6 additions and 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 ]
|
||||
|
||||
Fri Jul 11 23:50:38 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* ext/zlib/zlib.c (rb_gzfile_set_mtime): fix typo. [ruby-core:17713]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue