From: "zzak (Zachary Scott)" Date: 2013-06-04T11:27:47+09:00 Subject: [ruby-core:55287] [ruby-trunk - Bug #5774] [PATCH] xmlrpc client handling cookies Issue #5774 has been updated by zzak (Zachary Scott). Assignee changed from nahi (Hiroshi Nakamura) to kou (Kouhei Sutou) This was lib/xmlrpc/client.rb, please check it ---------------------------------------- Bug #5774: [PATCH] xmlrpc client handling cookies https://bugs.ruby-lang.org/issues/5774#change-39682 Author: romanr (Roman Riha) Status: Assigned Priority: Normal Assignee: kou (Kouhei Sutou) Category: lib Target version: ruby -v: ruby 1.9.2p180 (2011-02-18) [i386-mingw32] Backport: =begin xmlrpc client does not properly handle cookies. Firstly, they do not persist if server sets new cookies, secondly, if the server sets the same cookie more than once, the older cookies will not be overwritten. For example this Set-Cookie: foo=deleted Set-Cookie: foo=bar will set the cookie property to "foo=deleted; foo=bar", which is incorrect. I wrote a patch, that handles both of these issues. However, the patch does not add method to delete cookies or reset the session, which might be useful. -- http://bugs.ruby-lang.org/