1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

8 commits

Author SHA1 Message Date
nobu
b20a588752 * 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
2008-07-12 07:02:40 +00:00
knu
dd0eebd62a * lib/xmlrpc/client.rb: fix cookie handling. [ruby-dev:34403]
* test/xmlrpc/test_cookie.rb: add a test for the above fix.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-15 17:10:38 +00:00
jeg2
ae8bb3a00c Merged 13767, 13768, 13769, and 13770 from trunk.
* lib/xmlrpc/parser.rb (XMLRPC::Convert::dateTime): Fixing a bug that
  caused time zone conversion to fail for some ISO 8601 date formats.
  [ruby-Bugs-12677]

* lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): Explicitly start
  the HTTP connection to support keepalive requests. [ruby-Bugs-9353]

* lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): Improving the error
  message for Content-Type check failures. [ruby-core:12163]

* lib/xmlrpc/utils.rb (XMLRPC::ParseContentType#parse_content_type):
  Making Content-Type checks case insensitive. [ruby-Bugs-3367]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-24 23:04:42 +00:00
knu
073898fdaf * lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): Make the
Content-Length parameter optional for responses in
  xmlrpc/client.rb; suggested by Daniel Berger
  <Daniel.Berger@qwest.com> and approved by the maintainer.

* lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Add DateTime
  support to xmlrpc; approved by the maintainer.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-23 03:45:55 +00:00
matz
5f7cd25ffd * lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): add charset
information to content-type header.[ruby-core:5127]

* lib/xmlrpc/server.rb (CGIServer::serve): ditto.

* lib/xmlrpc/server.rb (ModRubyServer::serve): ditto.

* lib/xmlrpc/server.rb (WEBrickServlet::service): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-20 08:51:02 +00:00
mneumann
686c038347 * lib/xmlrpc/*, test/xmlrpc/*: backported changes from HEAD into 1.8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-24 20:27:43 +00:00
mneumann
c88ad2a387 class XMLRPC::Client:
* added attr_accessor :http_header_extra that can be used to add extra lines in
  HTTP header.

* added attr_accessor :cookie - shortcut for setting/getting cookies

* added attr_accressor :http_last_response that holds the last HTTP response.
  Usefull when needed to extract information from HTTP header (e.g. cookies,
  keep alive...)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-17 21:30:31 +00:00
matz
d675dbc279 * lib/xmlrpc: import.
* eval.c (thgroup_add): should return group for terminated thread
  case.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 10:05:54 +00:00