summaryrefslogtreecommitdiff
path: root/lib/xmlrpc/client.rb
AgeCommit message (Collapse)Author
2012-09-13* lib/xmlrpc.rb: Documentation for XMLRPCzzak
* lib/xmlrpc/datetime.rb: ditto. * lib/xmlrpc/parser.rb: ditto. * lib/xmlrpc/client.rb: ditto. * lib/xmlrpc/utils.rb: ditto. * lib/xmlrpc/README.rdoc: ditto. * lib/xmlrpc/create.rb: ditto. * lib/xmlrpc/base64.rb: ditto. * lib/xmlrpc/config.rb: ditto. * lib/xmlrpc/httpserver.rb: ditto. * lib/xmlrpc/server.rb: ditto. * lib/xmlrpc/marshal.rb: ditto. * lib/xmlrpc/README.txt: ditto. [Bug #6909] [ruby-core:47286] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-07* lib/xmlrpc/client.rb (module XMLRPC): fix typo.nagachika
* test/xmlrpc/test_client.rb (test_async_call): add test for XMLRPC::Client#call_async to check above fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06use factory method for constructing Net::HTTP objectstenderlove
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-06* lib/xmlrpc/client.rb: assume servers that do not send a Content-Typetenderlove
header are sending 'text/xml'. Thanks Nathan Leavitt! [ruby-core:41204] [Bug #5660] * test/xmlrpc/test_client.rb: supporting test git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-05* lib/xmlrpc/client.rb: switch net/http post2 calls to moderntenderlove
`request_post` methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-03remove another call to Net::HTTP.version_1_2tenderlove
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-03* lib/xmlrpc/client.rb (initialize): net/http defaults to 1_2 in 1.8+,tenderlove
so we can safely remove the call to enable it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-02* lib/xmlrpc/client.rb (new2): use URI for uri parsing.tenderlove
* test/xmlrpc/test_client.rb: test that query params are passed to the client constructor. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-02* lib/xmlrpc/client.rb (new2): raises an ArgumentError on badtenderlove
arguments. * test/xmlrpc/test_client.rb: tests for bad uris git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-02* lib/xmlrpc/client.rb (new2): fix custom port specification when antenderlove
SSL uri is used. * test/xmlrpc/test_client.rb: tests for XMLRPC::Client.new2 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-05* lib/xmlrpc/client.rb, lib/xmlrpc/server.rb: should useshugo
String#bytesize instead of String#size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-25* lib/xmlrpc/client.rb: Fix possible HTTP header formatting failure bynahi
'Basic' header. Long username caused the base64 String truncation in HTTP header which is not allowed. See #5046. * test/xmlrpc/test_webrick_server.rb: test it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06* {ext,lib,test}/**/*.rb: removed trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-01* lib/xmlrpc, lib/rexml, test/ruby/test_array.rb,mame
test/ruby/test_unicode_escape.rb, test/scanf/test_scanf.rb, test/rss/rss-assertions.rb: fix indentation to remove warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-12* lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): requiresnobu
webrick/cookie. [ ruby-Bugs-21139 ] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-15* lib/xmlrpc/client.rb: fix cookie handling. [ruby-dev:34403]kou
* test/xmlrpc/test_cookie.rb: add a test for the above fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-24* lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): Explicitly startjeg2
the HTTP connection to support keepalive requests. [ruby-Bugs-9353] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-24* lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): Improving the errorjeg2
message for Content-Type check failures. [ruby-core:12163] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-23* lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): Make theknu
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/trunk@11816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-05* range.c (rb_range_beg_len): should return Qfalse for non-rangematz
object. * pack.c (EXTEND16): [ruby-dev:27383] * eval.c (set_trace_func): add rb_secure(4) to prevent adding tracing function. * lib/delegate.rb: document update from James Edward Gray II <james@grayproductions.net>. [ruby-core:05942] * process.c (proc_daemon): should restrict execution on levels higher than $SAFE=2. suggested by URABE Shyouhei <shyouhei@ice.uec.ac.jp>. * lib/forwardable.rb: replaced by new implementation from <Daniel.Berger@qwest.com>. [ruby-core:05899] * file.c (path_check_0): disallow sticky world writable directory in PATH (and $LOAD_PATH). [ruby-dev:27226] * numeric.c (fix_idiv): 1.div(1.0) should return integer value. [ruby-dev:27235] * lib/yaml.rb: require 'yaml/constants'. [ruby-core:5776] * 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. * test/dbm/test_dbm.rb (TestDBM::test_s_open_error): remove test_s_open_error test to detect duplicate open. [ruby-dev:27202] * eval.c (splat_value): use to_a to splat non Array object. * object.c (nil_to_a): remove nil.to_a. [experimental] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-19* lib/xmlrpc/utils.rb: Patch by Nobuhiro IMAI fixes the followingmneumann
problem: Default value modification on Module#public_instance_methods (false -> true) breaks s.add_handler(XMLRPC::iPIMethods("sample"), MyHandler.new) style security protection. * lib/xmlrpc/client.rb: Aliased XMLRPC::Client#new2 as XMLRPC::Client#new_from_uri, and #new3 as #new_from_hash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21* lib/xmlrpc/client.rb: use "" instead of "." if prefix argument ismneumann
nil in proxy methods. nil is default value. * test/xmlrpc/test_webrick_server.rb, test/xmlrpc/webrick_testing.rb: use threads instead of forking. this should fix issue #1208 (http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1208&group_id=426). removed testing of SSL enabled servlet as this hangs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-17class XMLRPC::Client:mneumann
* 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-07-19* lib/xmlrpc: import.matz
* 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